package db
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- class DbCryptoPrivateStore extends CryptoPrivateStoreExtended with DbStore
- class DbCryptoPublicStore extends CryptoPublicStore with DbStore
- final case class StoredPrivateKey(id: Fingerprint, data: ByteString, purpose: KeyPurpose, name: Option[KeyName], wrapperKeyId: Option[String300]) extends Product with Serializable
Represents the data to be stored in the crypto_private_keys table.
Represents the data to be stored in the crypto_private_keys table. If wrapperKeyId is set (Some(wrapperKeyId)) then the data field is encrypted otherwise (None), then the data field is in plaintext.
- id
canton identifier for a private key
- data
a ByteString that stores either: (1) the serialized private key case class, which contains the private key plus metadata, or (2) the above proto serialization but encrypted with the wrapper key if present.
- purpose
to identify if the key is for signing or encryption
- name
an alias name for the private key
- wrapperKeyId
identifies what is the key being used to encrypt the data field. If empty, data is unencrypted.
Value Members
- object StoredPrivateKey extends Serializable