Packages

package db

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. class DbCryptoPrivateStore extends CryptoPrivateStore with DbStore
  2. class DbCryptoPublicStore extends CryptoPublicStore with DbStore
  3. 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

  1. object StoredPrivateKey extends Serializable

Ungrouped