Packages

class SyncCryptoVerifier extends NamedLogging

Aggregates all methods related to protocol messages' signature verification. If a signature delegation is present, verification uses the session key included in the signature after it has been validated; otherwise, it defaults to the original method and verifies the signature with the long-term key. These methods require a topology snapshot to ensure the correct signing keys are used, based on the current state (i.e., OwnerToKeyMappings).

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

Instance Constructors

  1. new SyncCryptoVerifier(synchronizerId: SynchronizerId, staticSynchronizerParameters: StaticSynchronizerParameters, verifyPublicApiWithLongTermKeys: SynchronizerCryptoPureApi, verificationParallelismLimit: PositiveInt, loggerFactory: NamedLoggerFactory)

    verifyPublicApiWithLongTermKeys

    The crypto public API used to directly verify messages or validate a signature delegation with a long-term key.

    verificationParallelismLimit

    The maximum number of concurrent verifications allowed.

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]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  13. val loggerFactory: NamedLoggerFactory
    Definition Classes
    SyncCryptoVerifierNamedLogging
  14. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. def verifyGroupSignatures(topologySnapshot: TopologySnapshot, hash: Hash, signers: Seq[Member], threshold: PositiveInt, groupName: String, signatures: NonEmpty[Seq[Signature]], usage: NonEmpty[Set[SigningKeyUsage]])(implicit executionContext: ExecutionContext, traceContext: TraceContext): EitherT[FutureUnlessShutdown, SignatureCheckError, Unit]

    Verifies multiple group signatures using the currently active signing keys of the different signers in the current topology state.

    Verifies multiple group signatures using the currently active signing keys of the different signers in the current topology state.

    threshold

    the number of valid signatures required for the overall verification to be considered correct.

  22. def verifySignature(topologySnapshot: TopologySnapshot, hash: Hash, signer: Member, signature: Signature, usage: NonEmpty[Set[SigningKeyUsage]])(implicit executionContext: ExecutionContext, traceContext: TraceContext): EitherT[FutureUnlessShutdown, SignatureCheckError, Unit]

    Verify a given signature using the currently active signing keys in the current topology state.

  23. def verifySignatures(topologySnapshot: TopologySnapshot, hash: Hash, signer: Member, signatures: NonEmpty[Seq[Signature]], usage: NonEmpty[Set[SigningKeyUsage]])(implicit executionContext: ExecutionContext, traceContext: TraceContext): EitherT[FutureUnlessShutdown, SignatureCheckError, Unit]

    Verifies multiple signatures using the currently active signing keys in the current topology state.

  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

    (Since version 9)

Inherited from NamedLogging

Inherited from AnyRef

Inherited from Any

Ungrouped