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).
- Alphabetic
- By Inheritance
- SyncCryptoVerifier
- NamedLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logger: TracedLogger
- Attributes
- protected
- Definition Classes
- NamedLogging
- val loggerFactory: NamedLoggerFactory
- Definition Classes
- SyncCryptoVerifier → NamedLogging
- implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noTracingLogger: Logger
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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.
- 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.
- 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.
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])