object SequencedEventValidator extends HasLoggerName

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SequencedEventValidator
  2. HasLoggerName
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class NoDynamicDomainParameters(error: String) extends SigningTimestampVerificationError with Product with Serializable
  2. type SigningTimestampAfterSequencingTime = SigningTimestampAfterSequencingTime.type
  3. final case class SigningTimestampTooOld(tolerance: NonNegativeFiniteDuration) extends SigningTimestampVerificationError with Product with Serializable
  4. sealed trait SigningTimestampVerificationError extends Product with Serializable with PrettyPrinting

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. implicit def errorLoggingContextFromNamedLoggingContext(implicit loggingContext: NamedLoggingContext): ErrorLoggingContext

    Convert a com.digitalasset.canton.logging.NamedLoggingContext into an com.digitalasset.canton.logging.ErrorLoggingContext to fix the logger name to the current class name.

    Convert a com.digitalasset.canton.logging.NamedLoggingContext into an com.digitalasset.canton.logging.ErrorLoggingContext to fix the logger name to the current class name.

    Attributes
    protected
    Definition Classes
    HasLoggerName
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. implicit def loggerNameFromThisClass: LoggerNameFromClass
    Attributes
    protected
    Definition Classes
    HasLoggerName
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def noValidation(domainId: DomainId, warn: Boolean = true)(implicit loggingContext: NamedLoggingContext): SequencedEventValidator

    Do not validate sequenced events.

    Do not validate sequenced events. Only use it in case of a programming error and the need to unblock a deployment or if you blindly trust the sequencer.

    warn

    whether to log a warning when used

  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. def validateSigningTimestamp(syncCryptoApi: SyncCryptoClient[SyncCryptoApi], signingTimestamp: CantonTimestamp, sequencingTimestamp: CantonTimestamp, latestTopologyClientTimestamp: Option[CantonTimestamp], protocolVersion: ProtocolVersion, warnIfApproximate: Boolean, optimistic: Boolean = false)(implicit loggingContext: NamedLoggingContext, executionContext: ExecutionContext): EitherT[Future, SigningTimestampVerificationError, SyncCryptoApi]

    Validates the requested signing timestamp against the sequencing timestamp and the com.digitalasset.canton.protocol.DynamicDomainParameters.sequencerSigningTolerance of the domain parameters valid at the requested signing timestamp.

    Validates the requested signing timestamp against the sequencing timestamp and the com.digitalasset.canton.protocol.DynamicDomainParameters.sequencerSigningTolerance of the domain parameters valid at the requested signing timestamp.

    latestTopologyClientTimestamp

    The timestamp of an earlier event sent to the topology client such that no topology update has happened between this timestamp (exclusive) and the sequencing timestamp (exclusive).

    warnIfApproximate

    Whether to emit a warning if an approximate topology snapshot is used

    optimistic

    if true, we'll try to be optimistic and validate the event with the current snapshot approximation instead of the proper snapshot for the signing timestamp. During sequencer key rolling or while updating the dynamic domain parameters, an event might have been signed by a key that was just revoked or with a signing key timestamp that exceeds the com.digitalasset.canton.protocol.DynamicDomainParameters.sequencerSigningTolerance. Optimistic validation may not catch such problems.

    returns

    scala.Left$ if the signing timestamp is after the sequencing timestamp or the sequencing timestamp is after the signing timestamp by more than the com.digitalasset.canton.protocol.DynamicDomainParameters.sequencerSigningTolerance valid at the signing timestamp. scala.Right$ the topology snapshot that can be used for signing the event and verifying the signature on the event;

  20. def validateSigningTimestampUS(syncCryptoApi: SyncCryptoClient[SyncCryptoApi], signingTimestamp: CantonTimestamp, sequencingTimestamp: CantonTimestamp, latestTopologyClientTimestamp: Option[CantonTimestamp], protocolVersion: ProtocolVersion, warnIfApproximate: Boolean, optimistic: Boolean = false)(implicit loggingContext: NamedLoggingContext, executionContext: ExecutionContext, closeContext: CloseContext): EitherT[FutureUnlessShutdown, SigningTimestampVerificationError, SyncCryptoApi]
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. case object SigningTimestampAfterSequencingTime extends SigningTimestampVerificationError with Product with Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from HasLoggerName

Inherited from AnyRef

Inherited from Any

Ungrouped