Versions in this module Expand all Collapse all v7 v7.12.0 Jul 10, 2024 Changes in this version + var CryptoKeyFormat_name = map[int32]string + var CryptoKeyFormat_value = map[string]int32 + var EncryptionKeyScheme_name = map[int32]string + var EncryptionKeyScheme_value = map[string]int32 + var File_com_digitalasset_canton_crypto_v0_crypto_proto protoreflect.FileDescriptor + var HashAlgorithm_name = map[int32]string + var HashAlgorithm_value = map[string]int32 + var HmacAlgorithm_name = map[int32]string + var HmacAlgorithm_value = map[string]int32 + var KeyPurpose_name = map[int32]string + var KeyPurpose_value = map[string]int32 + var SignatureFormat_name = map[int32]string + var SignatureFormat_value = map[string]int32 + var SigningKeyScheme_name = map[int32]string + var SigningKeyScheme_value = map[string]int32 + var SymmetricKeyScheme_name = map[int32]string + var SymmetricKeyScheme_value = map[string]int32 + type CryptoKeyFormat int32 + const CryptoKeyFormat_Der + const CryptoKeyFormat_MissingCryptoKeyFormat + const CryptoKeyFormat_Raw + const CryptoKeyFormat_Symbolic + const CryptoKeyFormat_Tink + func (CryptoKeyFormat) Descriptor() protoreflect.EnumDescriptor + func (CryptoKeyFormat) EnumDescriptor() ([]byte, []int) + func (CryptoKeyFormat) Type() protoreflect.EnumType + func (x CryptoKeyFormat) Enum() *CryptoKeyFormat + func (x CryptoKeyFormat) Number() protoreflect.EnumNumber + func (x CryptoKeyFormat) String() string + type CryptoKeyPair struct + Pair isCryptoKeyPair_Pair + func (*CryptoKeyPair) Descriptor() ([]byte, []int) + func (*CryptoKeyPair) ProtoMessage() + func (m *CryptoKeyPair) GetPair() isCryptoKeyPair_Pair + func (x *CryptoKeyPair) GetEncryptionKeyPair() *EncryptionKeyPair + func (x *CryptoKeyPair) GetSigningKeyPair() *SigningKeyPair + func (x *CryptoKeyPair) ProtoReflect() protoreflect.Message + func (x *CryptoKeyPair) Reset() + func (x *CryptoKeyPair) String() string + type CryptoKeyPair_EncryptionKeyPair struct + EncryptionKeyPair *EncryptionKeyPair + type CryptoKeyPair_SigningKeyPair struct + SigningKeyPair *SigningKeyPair + type EncryptionKeyPair struct + PrivateKey *EncryptionPrivateKey + PublicKey *EncryptionPublicKey + func (*EncryptionKeyPair) Descriptor() ([]byte, []int) + func (*EncryptionKeyPair) ProtoMessage() + func (x *EncryptionKeyPair) GetPrivateKey() *EncryptionPrivateKey + func (x *EncryptionKeyPair) GetPublicKey() *EncryptionPublicKey + func (x *EncryptionKeyPair) ProtoReflect() protoreflect.Message + func (x *EncryptionKeyPair) Reset() + func (x *EncryptionKeyPair) String() string + type EncryptionKeyScheme int32 + const EncryptionKeyScheme_EciesP256HkdfHmacSha256Aes128Gcm + const EncryptionKeyScheme_EciesP256HmacSha256Aes128Cbc + const EncryptionKeyScheme_MissingEncryptionKeyScheme + const EncryptionKeyScheme_Rsa2048OaepSha256 + func (EncryptionKeyScheme) Descriptor() protoreflect.EnumDescriptor + func (EncryptionKeyScheme) EnumDescriptor() ([]byte, []int) + func (EncryptionKeyScheme) Type() protoreflect.EnumType + func (x EncryptionKeyScheme) Enum() *EncryptionKeyScheme + func (x EncryptionKeyScheme) Number() protoreflect.EnumNumber + func (x EncryptionKeyScheme) String() string + type EncryptionPrivateKey struct + Format CryptoKeyFormat + Id string + PrivateKey []byte + Scheme EncryptionKeyScheme + func (*EncryptionPrivateKey) Descriptor() ([]byte, []int) + func (*EncryptionPrivateKey) ProtoMessage() + func (x *EncryptionPrivateKey) GetFormat() CryptoKeyFormat + func (x *EncryptionPrivateKey) GetId() string + func (x *EncryptionPrivateKey) GetPrivateKey() []byte + func (x *EncryptionPrivateKey) GetScheme() EncryptionKeyScheme + func (x *EncryptionPrivateKey) ProtoReflect() protoreflect.Message + func (x *EncryptionPrivateKey) Reset() + func (x *EncryptionPrivateKey) String() string + type EncryptionPublicKey struct + Format CryptoKeyFormat + Id string + PublicKey []byte + Scheme EncryptionKeyScheme + func (*EncryptionPublicKey) Descriptor() ([]byte, []int) + func (*EncryptionPublicKey) ProtoMessage() + func (x *EncryptionPublicKey) GetFormat() CryptoKeyFormat + func (x *EncryptionPublicKey) GetId() string + func (x *EncryptionPublicKey) GetPublicKey() []byte + func (x *EncryptionPublicKey) GetScheme() EncryptionKeyScheme + func (x *EncryptionPublicKey) ProtoReflect() protoreflect.Message + func (x *EncryptionPublicKey) Reset() + func (x *EncryptionPublicKey) String() string + type HashAlgorithm int32 + const HashAlgorithm_MissingHashAlgorithm + const HashAlgorithm_Sha256 + func (HashAlgorithm) Descriptor() protoreflect.EnumDescriptor + func (HashAlgorithm) EnumDescriptor() ([]byte, []int) + func (HashAlgorithm) Type() protoreflect.EnumType + func (x HashAlgorithm) Enum() *HashAlgorithm + func (x HashAlgorithm) Number() protoreflect.EnumNumber + func (x HashAlgorithm) String() string + type Hmac struct + Algorithm HmacAlgorithm + Hmac []byte + func (*Hmac) Descriptor() ([]byte, []int) + func (*Hmac) ProtoMessage() + func (x *Hmac) GetAlgorithm() HmacAlgorithm + func (x *Hmac) GetHmac() []byte + func (x *Hmac) ProtoReflect() protoreflect.Message + func (x *Hmac) Reset() + func (x *Hmac) String() string + type HmacAlgorithm int32 + const HmacAlgorithm_HmacSha256 + const HmacAlgorithm_MissingHmacAlgorithm + func (HmacAlgorithm) Descriptor() protoreflect.EnumDescriptor + func (HmacAlgorithm) EnumDescriptor() ([]byte, []int) + func (HmacAlgorithm) Type() protoreflect.EnumType + func (x HmacAlgorithm) Enum() *HmacAlgorithm + func (x HmacAlgorithm) Number() protoreflect.EnumNumber + func (x HmacAlgorithm) String() string + type KeyPurpose int32 + const KeyPurpose_EncryptionKeyPurpose + const KeyPurpose_SigningKeyPurpose + const KeyPurpose_UnknownKeyPurpose + func (KeyPurpose) Descriptor() protoreflect.EnumDescriptor + func (KeyPurpose) EnumDescriptor() ([]byte, []int) + func (KeyPurpose) Type() protoreflect.EnumType + func (x KeyPurpose) Enum() *KeyPurpose + func (x KeyPurpose) Number() protoreflect.EnumNumber + func (x KeyPurpose) String() string + type PrivateKey struct + Key isPrivateKey_Key + func (*PrivateKey) Descriptor() ([]byte, []int) + func (*PrivateKey) ProtoMessage() + func (m *PrivateKey) GetKey() isPrivateKey_Key + func (x *PrivateKey) GetEncryptionPrivateKey() *EncryptionPrivateKey + func (x *PrivateKey) GetSigningPrivateKey() *SigningPrivateKey + func (x *PrivateKey) ProtoReflect() protoreflect.Message + func (x *PrivateKey) Reset() + func (x *PrivateKey) String() string + type PrivateKey_EncryptionPrivateKey struct + EncryptionPrivateKey *EncryptionPrivateKey + type PrivateKey_SigningPrivateKey struct + SigningPrivateKey *SigningPrivateKey + type PublicKey struct + Key isPublicKey_Key + func (*PublicKey) Descriptor() ([]byte, []int) + func (*PublicKey) ProtoMessage() + func (m *PublicKey) GetKey() isPublicKey_Key + func (x *PublicKey) GetEncryptionPublicKey() *EncryptionPublicKey + func (x *PublicKey) GetSigningPublicKey() *SigningPublicKey + func (x *PublicKey) ProtoReflect() protoreflect.Message + func (x *PublicKey) Reset() + func (x *PublicKey) String() string + type PublicKeyWithName struct + Name string + PublicKey *PublicKey + func (*PublicKeyWithName) Descriptor() ([]byte, []int) + func (*PublicKeyWithName) ProtoMessage() + func (x *PublicKeyWithName) GetName() string + func (x *PublicKeyWithName) GetPublicKey() *PublicKey + func (x *PublicKeyWithName) ProtoReflect() protoreflect.Message + func (x *PublicKeyWithName) Reset() + func (x *PublicKeyWithName) String() string + type PublicKey_EncryptionPublicKey struct + EncryptionPublicKey *EncryptionPublicKey + type PublicKey_SigningPublicKey struct + SigningPublicKey *SigningPublicKey + type Salt struct + Algorithm isSalt_Algorithm + Salt []byte + func (*Salt) Descriptor() ([]byte, []int) + func (*Salt) ProtoMessage() + func (m *Salt) GetAlgorithm() isSalt_Algorithm + func (x *Salt) GetHmac() HmacAlgorithm + func (x *Salt) GetSalt() []byte + func (x *Salt) ProtoReflect() protoreflect.Message + func (x *Salt) Reset() + func (x *Salt) String() string + type Salt_Hmac struct + Hmac HmacAlgorithm + type Signature struct + Format SignatureFormat + Signature []byte + SignedBy string + func (*Signature) Descriptor() ([]byte, []int) + func (*Signature) ProtoMessage() + func (x *Signature) GetFormat() SignatureFormat + func (x *Signature) GetSignature() []byte + func (x *Signature) GetSignedBy() string + func (x *Signature) ProtoReflect() protoreflect.Message + func (x *Signature) Reset() + func (x *Signature) String() string + type SignatureFormat int32 + const SignatureFormat_MissingSignatureFormat + const SignatureFormat_RawSignatureFormat + func (SignatureFormat) Descriptor() protoreflect.EnumDescriptor + func (SignatureFormat) EnumDescriptor() ([]byte, []int) + func (SignatureFormat) Type() protoreflect.EnumType + func (x SignatureFormat) Enum() *SignatureFormat + func (x SignatureFormat) Number() protoreflect.EnumNumber + func (x SignatureFormat) String() string + type SigningKeyPair struct + PrivateKey *SigningPrivateKey + PublicKey *SigningPublicKey + func (*SigningKeyPair) Descriptor() ([]byte, []int) + func (*SigningKeyPair) ProtoMessage() + func (x *SigningKeyPair) GetPrivateKey() *SigningPrivateKey + func (x *SigningKeyPair) GetPublicKey() *SigningPublicKey + func (x *SigningKeyPair) ProtoReflect() protoreflect.Message + func (x *SigningKeyPair) Reset() + func (x *SigningKeyPair) String() string + type SigningKeyScheme int32 + const SigningKeyScheme_EcDsaP256 + const SigningKeyScheme_EcDsaP384 + const SigningKeyScheme_Ed25519 + const SigningKeyScheme_MissingSigningKeyScheme + const SigningKeyScheme_Sm2 + func (SigningKeyScheme) Descriptor() protoreflect.EnumDescriptor + func (SigningKeyScheme) EnumDescriptor() ([]byte, []int) + func (SigningKeyScheme) Type() protoreflect.EnumType + func (x SigningKeyScheme) Enum() *SigningKeyScheme + func (x SigningKeyScheme) Number() protoreflect.EnumNumber + func (x SigningKeyScheme) String() string + type SigningPrivateKey struct + Format CryptoKeyFormat + Id string + PrivateKey []byte + Scheme SigningKeyScheme + func (*SigningPrivateKey) Descriptor() ([]byte, []int) + func (*SigningPrivateKey) ProtoMessage() + func (x *SigningPrivateKey) GetFormat() CryptoKeyFormat + func (x *SigningPrivateKey) GetId() string + func (x *SigningPrivateKey) GetPrivateKey() []byte + func (x *SigningPrivateKey) GetScheme() SigningKeyScheme + func (x *SigningPrivateKey) ProtoReflect() protoreflect.Message + func (x *SigningPrivateKey) Reset() + func (x *SigningPrivateKey) String() string + type SigningPublicKey struct + Format CryptoKeyFormat + Id string + PublicKey []byte + Scheme SigningKeyScheme + func (*SigningPublicKey) Descriptor() ([]byte, []int) + func (*SigningPublicKey) ProtoMessage() + func (x *SigningPublicKey) GetFormat() CryptoKeyFormat + func (x *SigningPublicKey) GetId() string + func (x *SigningPublicKey) GetPublicKey() []byte + func (x *SigningPublicKey) GetScheme() SigningKeyScheme + func (x *SigningPublicKey) ProtoReflect() protoreflect.Message + func (x *SigningPublicKey) Reset() + func (x *SigningPublicKey) String() string + type SymmetricKey struct + Format CryptoKeyFormat + Key []byte + Scheme SymmetricKeyScheme + func (*SymmetricKey) Descriptor() ([]byte, []int) + func (*SymmetricKey) ProtoMessage() + func (x *SymmetricKey) GetFormat() CryptoKeyFormat + func (x *SymmetricKey) GetKey() []byte + func (x *SymmetricKey) GetScheme() SymmetricKeyScheme + func (x *SymmetricKey) ProtoReflect() protoreflect.Message + func (x *SymmetricKey) Reset() + func (x *SymmetricKey) String() string + type SymmetricKeyScheme int32 + const SymmetricKeyScheme_Aes128Gcm + const SymmetricKeyScheme_MissingSymmetricKeyScheme + func (SymmetricKeyScheme) Descriptor() protoreflect.EnumDescriptor + func (SymmetricKeyScheme) EnumDescriptor() ([]byte, []int) + func (SymmetricKeyScheme) Type() protoreflect.EnumType + func (x SymmetricKeyScheme) Enum() *SymmetricKeyScheme + func (x SymmetricKeyScheme) Number() protoreflect.EnumNumber + func (x SymmetricKeyScheme) String() string