Packages

c

com.digitalasset.canton.crypto

SynchronizerCrypto

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.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SynchronizerCrypto
  2. Serializable
  3. Product
  4. Equals
  5. BaseCrypto
  6. NamedLogging
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SynchronizerCrypto(crypto: Crypto, staticSynchronizerParameters: StaticSynchronizerParameters)(implicit ec: ExecutionContext)

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. val crypto: Crypto
  7. val cryptoPrivateStore: CryptoPrivateStore
    Definition Classes
    SynchronizerCryptoBaseCrypto
  8. val cryptoPublicStore: CryptoPublicStore
    Definition Classes
    SynchronizerCryptoBaseCrypto
  9. implicit val ec: ExecutionContext
    Definition Classes
    SynchronizerCryptoBaseCrypto
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  12. 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
  13. 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
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  17. val loggerFactory: NamedLoggerFactory
    Attributes
    protected
    Definition Classes
    SynchronizerCryptoNamedLogging
  18. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  23. val privateCrypto: SynchronizerCryptoPrivateApi
    Definition Classes
    SynchronizerCryptoBaseCrypto
  24. def productElementNames: Iterator[String]
    Definition Classes
    Product
  25. val pureCrypto: SynchronizerCryptoPureApi
    Definition Classes
    SynchronizerCryptoBaseCrypto
  26. val staticSynchronizerParameters: StaticSynchronizerParameters
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. 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 Serializable

Inherited from Product

Inherited from Equals

Inherited from BaseCrypto

Inherited from NamedLogging

Inherited from AnyRef

Inherited from Any

Ungrouped