final case class SynchronizerCrypto(crypto: Crypto, staticSynchronizerParameters: StaticSynchronizerParameters)(implicit ec: ExecutionContext) extends BaseCrypto with Product with Serializable
Similar to Crypto, but includes wrappers for CryptoPureApi and CryptoPrivateApi that add crypto scheme validation checks against the static synchronizer parameters.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SynchronizerCrypto
- Serializable
- Product
- Equals
- BaseCrypto
- NamedLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new SynchronizerCrypto(crypto: Crypto, staticSynchronizerParameters: StaticSynchronizerParameters)(implicit ec: ExecutionContext)
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()
- val crypto: Crypto
- val cryptoPrivateStore: CryptoPrivateStore
- Definition Classes
- SynchronizerCrypto → BaseCrypto
- val cryptoPublicStore: CryptoPublicStore
- Definition Classes
- SynchronizerCrypto → BaseCrypto
- implicit val ec: ExecutionContext
- Definition Classes
- SynchronizerCrypto → BaseCrypto
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- def generateEncryptionKey(keySpec: EncryptionKeySpec = privateCrypto.encryptionKeySpecs.default, name: Option[KeyName] = None)(implicit traceContext: TraceContext): EitherT[FutureUnlessShutdown, EncryptionKeyGenerationError, EncryptionPublicKey]
Helper method to generate a new encryption key pair and store the public key in the public store as well.
Helper method to generate a new encryption key pair and store the public key in the public store as well.
- Definition Classes
- BaseCrypto
- def generateSigningKey(keySpec: SigningKeySpec = privateCrypto.signingKeySpecs.default, usage: NonEmpty[Set[SigningKeyUsage]], name: Option[KeyName] = None)(implicit traceContext: TraceContext): EitherT[FutureUnlessShutdown, SigningKeyGenerationError, SigningPublicKey]
Helper method to generate a new signing key pair and store the public key in the public store as well.
Helper method to generate a new signing key pair and store the public key in the public store as well.
- Definition Classes
- BaseCrypto
- final def getClass(): Class[_ <: AnyRef]
- 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
- Attributes
- protected
- Definition Classes
- SynchronizerCrypto → 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()
- val privateCrypto: SynchronizerCryptoPrivateApi
- Definition Classes
- SynchronizerCrypto → BaseCrypto
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val pureCrypto: SynchronizerCryptoPureApi
- Definition Classes
- SynchronizerCrypto → BaseCrypto
- val staticSynchronizerParameters: StaticSynchronizerParameters
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])