final case class CryptoConfig(provider: CryptoProvider = CryptoProvider.Jce, signing: SigningSchemeConfig = SigningSchemeConfig(), encryption: EncryptionSchemeConfig = EncryptionSchemeConfig(), symmetric: CryptoSchemeConfig[SymmetricKeyScheme] = CryptoSchemeConfig(), hash: CryptoSchemeConfig[HashAlgorithm] = CryptoSchemeConfig(), pbkdf: CryptoSchemeConfig[PbkdfScheme] = CryptoSchemeConfig(), kms: Option[KmsConfig] = None, privateKeyStore: PrivateKeyStoreConfig = PrivateKeyStoreConfig()) extends UniformCantonConfigValidation with Product with Serializable
Cryptography configuration.
- provider
the crypto provider implementation to use
- signing
the signing key scheme configuration
- encryption
the encryption scheme configuration
- symmetric
the symmetric key scheme configuration
- hash
the hash algorithm configuration
- pbkdf
the password-based key derivation function configuration
- kms
optional support for a KMS
- privateKeyStore
private key store configuration to allow for encrypted key storage
- Alphabetic
- By Inheritance
- CryptoConfig
- Serializable
- Product
- Equals
- UniformCantonConfigValidation
- CustomCantonConfigValidation
- CantonConfigValidation
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CryptoConfig(provider: CryptoProvider = CryptoProvider.Jce, signing: SigningSchemeConfig = SigningSchemeConfig(), encryption: EncryptionSchemeConfig = EncryptionSchemeConfig(), symmetric: CryptoSchemeConfig[SymmetricKeyScheme] = CryptoSchemeConfig(), hash: CryptoSchemeConfig[HashAlgorithm] = CryptoSchemeConfig(), pbkdf: CryptoSchemeConfig[PbkdfScheme] = CryptoSchemeConfig(), kms: Option[KmsConfig] = None, privateKeyStore: PrivateKeyStoreConfig = PrivateKeyStoreConfig())
- provider
the crypto provider implementation to use
- signing
the signing key scheme configuration
- encryption
the encryption scheme configuration
- symmetric
the symmetric key scheme configuration
- hash
the hash algorithm configuration
- pbkdf
the password-based key derivation function configuration
- kms
optional support for a KMS
- privateKeyStore
private key store configuration to allow for encrypted key storage
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 doValidate(edition: CantonEdition): Seq[CantonConfigValidationError]
Returns all validation errors that are specific to this Canton configuration class.
Returns all validation errors that are specific to this Canton configuration class. Successful validation should return an empty sequence.
Validation errors of subconfigurations should not be reported by this method, but via the type class derivation.
- Attributes
- protected
- Definition Classes
- UniformCantonConfigValidation → CustomCantonConfigValidation
- val encryption: EncryptionSchemeConfig
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- val hash: CryptoSchemeConfig[HashAlgorithm]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val kms: Option[KmsConfig]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val pbkdf: CryptoSchemeConfig[PbkdfScheme]
- val privateKeyStore: PrivateKeyStoreConfig
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val provider: CryptoProvider
- val signing: SigningSchemeConfig
- val symmetric: CryptoSchemeConfig[SymmetricKeyScheme]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def validate[T >: CryptoConfig.this.type](edition: CantonEdition)(implicit validator: CantonConfigValidator[T]): Either[NonEmpty[Seq[CantonConfigValidationError]], Unit]
- Definition Classes
- CantonConfigValidation
- 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])