Documentation
¶
Index ¶
- Variables
- type CryptoKeyFormat
- func (CryptoKeyFormat) Descriptor() protoreflect.EnumDescriptor
- func (x CryptoKeyFormat) Enum() *CryptoKeyFormat
- func (CryptoKeyFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x CryptoKeyFormat) Number() protoreflect.EnumNumber
- func (x CryptoKeyFormat) String() string
- func (CryptoKeyFormat) Type() protoreflect.EnumType
- type CryptoKeyPair
- func (*CryptoKeyPair) Descriptor() ([]byte, []int)deprecated
- func (x *CryptoKeyPair) GetEncryptionKeyPair() *EncryptionKeyPair
- func (m *CryptoKeyPair) GetPair() isCryptoKeyPair_Pair
- func (x *CryptoKeyPair) GetSigningKeyPair() *SigningKeyPair
- func (*CryptoKeyPair) ProtoMessage()
- func (x *CryptoKeyPair) ProtoReflect() protoreflect.Message
- func (x *CryptoKeyPair) Reset()
- func (x *CryptoKeyPair) String() string
- type CryptoKeyPair_EncryptionKeyPair
- type CryptoKeyPair_SigningKeyPair
- type EncryptionAlgorithmSpec
- func (EncryptionAlgorithmSpec) Descriptor() protoreflect.EnumDescriptor
- func (x EncryptionAlgorithmSpec) Enum() *EncryptionAlgorithmSpec
- func (EncryptionAlgorithmSpec) EnumDescriptor() ([]byte, []int)deprecated
- func (x EncryptionAlgorithmSpec) Number() protoreflect.EnumNumber
- func (x EncryptionAlgorithmSpec) String() string
- func (EncryptionAlgorithmSpec) Type() protoreflect.EnumType
- type EncryptionKeyPair
- func (*EncryptionKeyPair) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptionKeyPair) GetPrivateKey() *EncryptionPrivateKey
- func (x *EncryptionKeyPair) GetPublicKey() *EncryptionPublicKey
- func (*EncryptionKeyPair) ProtoMessage()
- func (x *EncryptionKeyPair) ProtoReflect() protoreflect.Message
- func (x *EncryptionKeyPair) Reset()
- func (x *EncryptionKeyPair) String() string
- type EncryptionKeyScheme
- func (EncryptionKeyScheme) Descriptor() protoreflect.EnumDescriptor
- func (x EncryptionKeyScheme) Enum() *EncryptionKeyScheme
- func (EncryptionKeyScheme) EnumDescriptor() ([]byte, []int)deprecated
- func (x EncryptionKeyScheme) Number() protoreflect.EnumNumber
- func (x EncryptionKeyScheme) String() string
- func (EncryptionKeyScheme) Type() protoreflect.EnumType
- type EncryptionKeySpec
- func (EncryptionKeySpec) Descriptor() protoreflect.EnumDescriptor
- func (x EncryptionKeySpec) Enum() *EncryptionKeySpec
- func (EncryptionKeySpec) EnumDescriptor() ([]byte, []int)deprecated
- func (x EncryptionKeySpec) Number() protoreflect.EnumNumber
- func (x EncryptionKeySpec) String() string
- func (EncryptionKeySpec) Type() protoreflect.EnumType
- type EncryptionPrivateKey
- func (*EncryptionPrivateKey) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptionPrivateKey) GetFormat() CryptoKeyFormat
- func (x *EncryptionPrivateKey) GetId() string
- func (x *EncryptionPrivateKey) GetKeySpec() EncryptionKeySpec
- func (x *EncryptionPrivateKey) GetPrivateKey() []byte
- func (x *EncryptionPrivateKey) GetScheme() EncryptionKeySchemedeprecated
- func (*EncryptionPrivateKey) ProtoMessage()
- func (x *EncryptionPrivateKey) ProtoReflect() protoreflect.Message
- func (x *EncryptionPrivateKey) Reset()
- func (x *EncryptionPrivateKey) String() string
- type EncryptionPublicKey
- func (*EncryptionPublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptionPublicKey) GetFormat() CryptoKeyFormat
- func (x *EncryptionPublicKey) GetKeySpec() EncryptionKeySpec
- func (x *EncryptionPublicKey) GetPublicKey() []byte
- func (x *EncryptionPublicKey) GetScheme() EncryptionKeySchemedeprecated
- func (*EncryptionPublicKey) ProtoMessage()
- func (x *EncryptionPublicKey) ProtoReflect() protoreflect.Message
- func (x *EncryptionPublicKey) Reset()
- func (x *EncryptionPublicKey) String() string
- type HashAlgorithm
- func (HashAlgorithm) Descriptor() protoreflect.EnumDescriptor
- func (x HashAlgorithm) Enum() *HashAlgorithm
- func (HashAlgorithm) EnumDescriptor() ([]byte, []int)deprecated
- func (x HashAlgorithm) Number() protoreflect.EnumNumber
- func (x HashAlgorithm) String() string
- func (HashAlgorithm) Type() protoreflect.EnumType
- type Hmac
- type HmacAlgorithm
- func (HmacAlgorithm) Descriptor() protoreflect.EnumDescriptor
- func (x HmacAlgorithm) Enum() *HmacAlgorithm
- func (HmacAlgorithm) EnumDescriptor() ([]byte, []int)deprecated
- func (x HmacAlgorithm) Number() protoreflect.EnumNumber
- func (x HmacAlgorithm) String() string
- func (HmacAlgorithm) Type() protoreflect.EnumType
- type KeyPurpose
- type PasswordBasedEncrypted
- func (*PasswordBasedEncrypted) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordBasedEncrypted) GetCiphertext() []byte
- func (x *PasswordBasedEncrypted) GetPbkdfScheme() PbkdfScheme
- func (x *PasswordBasedEncrypted) GetSalt() []byte
- func (x *PasswordBasedEncrypted) GetSymmetricKeyScheme() SymmetricKeyScheme
- func (*PasswordBasedEncrypted) ProtoMessage()
- func (x *PasswordBasedEncrypted) ProtoReflect() protoreflect.Message
- func (x *PasswordBasedEncrypted) Reset()
- func (x *PasswordBasedEncrypted) String() string
- type PbkdfScheme
- func (PbkdfScheme) Descriptor() protoreflect.EnumDescriptor
- func (x PbkdfScheme) Enum() *PbkdfScheme
- func (PbkdfScheme) EnumDescriptor() ([]byte, []int)deprecated
- func (x PbkdfScheme) Number() protoreflect.EnumNumber
- func (x PbkdfScheme) String() string
- func (PbkdfScheme) Type() protoreflect.EnumType
- type PrivateKey
- func (*PrivateKey) Descriptor() ([]byte, []int)deprecated
- func (x *PrivateKey) GetEncryptionPrivateKey() *EncryptionPrivateKey
- func (m *PrivateKey) GetKey() isPrivateKey_Key
- func (x *PrivateKey) GetSigningPrivateKey() *SigningPrivateKey
- func (*PrivateKey) ProtoMessage()
- func (x *PrivateKey) ProtoReflect() protoreflect.Message
- func (x *PrivateKey) Reset()
- func (x *PrivateKey) String() string
- type PrivateKey_EncryptionPrivateKey
- type PrivateKey_SigningPrivateKey
- type PublicKey
- func (*PublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *PublicKey) GetEncryptionPublicKey() *EncryptionPublicKey
- func (m *PublicKey) GetKey() isPublicKey_Key
- func (x *PublicKey) GetSigningPublicKey() *SigningPublicKey
- func (*PublicKey) ProtoMessage()
- func (x *PublicKey) ProtoReflect() protoreflect.Message
- func (x *PublicKey) Reset()
- func (x *PublicKey) String() string
- type PublicKeyWithName
- func (*PublicKeyWithName) Descriptor() ([]byte, []int)deprecated
- func (x *PublicKeyWithName) GetName() string
- func (x *PublicKeyWithName) GetPublicKey() *PublicKey
- func (*PublicKeyWithName) ProtoMessage()
- func (x *PublicKeyWithName) ProtoReflect() protoreflect.Message
- func (x *PublicKeyWithName) Reset()
- func (x *PublicKeyWithName) String() string
- type PublicKey_EncryptionPublicKey
- type PublicKey_SigningPublicKey
- type RequiredEncryptionSpecs
- func (*RequiredEncryptionSpecs) Descriptor() ([]byte, []int)deprecated
- func (x *RequiredEncryptionSpecs) GetAlgorithms() []EncryptionAlgorithmSpec
- func (x *RequiredEncryptionSpecs) GetKeys() []EncryptionKeySpec
- func (*RequiredEncryptionSpecs) ProtoMessage()
- func (x *RequiredEncryptionSpecs) ProtoReflect() protoreflect.Message
- func (x *RequiredEncryptionSpecs) Reset()
- func (x *RequiredEncryptionSpecs) String() string
- type Salt
- func (*Salt) Descriptor() ([]byte, []int)deprecated
- func (m *Salt) GetAlgorithm() isSalt_Algorithm
- func (x *Salt) GetHmac() HmacAlgorithm
- func (x *Salt) GetSalt() []byte
- func (*Salt) ProtoMessage()
- func (x *Salt) ProtoReflect() protoreflect.Message
- func (x *Salt) Reset()
- func (x *Salt) String() string
- type Salt_Hmac
- type Signature
- func (*Signature) Descriptor() ([]byte, []int)deprecated
- func (x *Signature) GetFormat() SignatureFormat
- func (x *Signature) GetSignature() []byte
- func (x *Signature) GetSignedBy() string
- func (*Signature) ProtoMessage()
- func (x *Signature) ProtoReflect() protoreflect.Message
- func (x *Signature) Reset()
- func (x *Signature) String() string
- type SignatureFormat
- func (SignatureFormat) Descriptor() protoreflect.EnumDescriptor
- func (x SignatureFormat) Enum() *SignatureFormat
- func (SignatureFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x SignatureFormat) Number() protoreflect.EnumNumber
- func (x SignatureFormat) String() string
- func (SignatureFormat) Type() protoreflect.EnumType
- type SigningKeyPair
- func (*SigningKeyPair) Descriptor() ([]byte, []int)deprecated
- func (x *SigningKeyPair) GetPrivateKey() *SigningPrivateKey
- func (x *SigningKeyPair) GetPublicKey() *SigningPublicKey
- func (*SigningKeyPair) ProtoMessage()
- func (x *SigningKeyPair) ProtoReflect() protoreflect.Message
- func (x *SigningKeyPair) Reset()
- func (x *SigningKeyPair) String() string
- type SigningKeyScheme
- func (SigningKeyScheme) Descriptor() protoreflect.EnumDescriptor
- func (x SigningKeyScheme) Enum() *SigningKeyScheme
- func (SigningKeyScheme) EnumDescriptor() ([]byte, []int)deprecated
- func (x SigningKeyScheme) Number() protoreflect.EnumNumber
- func (x SigningKeyScheme) String() string
- func (SigningKeyScheme) Type() protoreflect.EnumType
- type SigningPrivateKey
- func (*SigningPrivateKey) Descriptor() ([]byte, []int)deprecated
- func (x *SigningPrivateKey) GetFormat() CryptoKeyFormat
- func (x *SigningPrivateKey) GetId() string
- func (x *SigningPrivateKey) GetPrivateKey() []byte
- func (x *SigningPrivateKey) GetScheme() SigningKeyScheme
- func (*SigningPrivateKey) ProtoMessage()
- func (x *SigningPrivateKey) ProtoReflect() protoreflect.Message
- func (x *SigningPrivateKey) Reset()
- func (x *SigningPrivateKey) String() string
- type SigningPublicKey
- func (*SigningPublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *SigningPublicKey) GetFormat() CryptoKeyFormat
- func (x *SigningPublicKey) GetPublicKey() []byte
- func (x *SigningPublicKey) GetScheme() SigningKeyScheme
- func (*SigningPublicKey) ProtoMessage()
- func (x *SigningPublicKey) ProtoReflect() protoreflect.Message
- func (x *SigningPublicKey) Reset()
- func (x *SigningPublicKey) String() string
- type SymmetricKey
- func (*SymmetricKey) Descriptor() ([]byte, []int)deprecated
- func (x *SymmetricKey) GetFormat() CryptoKeyFormat
- func (x *SymmetricKey) GetKey() []byte
- func (x *SymmetricKey) GetScheme() SymmetricKeyScheme
- func (*SymmetricKey) ProtoMessage()
- func (x *SymmetricKey) ProtoReflect() protoreflect.Message
- func (x *SymmetricKey) Reset()
- func (x *SymmetricKey) String() string
- type SymmetricKeyScheme
- func (SymmetricKeyScheme) Descriptor() protoreflect.EnumDescriptor
- func (x SymmetricKeyScheme) Enum() *SymmetricKeyScheme
- func (SymmetricKeyScheme) EnumDescriptor() ([]byte, []int)deprecated
- func (x SymmetricKeyScheme) Number() protoreflect.EnumNumber
- func (x SymmetricKeyScheme) String() string
- func (SymmetricKeyScheme) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( HashAlgorithm_name = map[int32]string{ 0: "HASH_ALGORITHM_UNSPECIFIED", 1: "HASH_ALGORITHM_SHA256", } HashAlgorithm_value = map[string]int32{ "HASH_ALGORITHM_UNSPECIFIED": 0, "HASH_ALGORITHM_SHA256": 1, } )
Enum value maps for HashAlgorithm.
var ( HmacAlgorithm_name = map[int32]string{ 0: "HMAC_ALGORITHM_UNSPECIFIED", 1: "HMAC_ALGORITHM_HMAC_SHA256", } HmacAlgorithm_value = map[string]int32{ "HMAC_ALGORITHM_UNSPECIFIED": 0, "HMAC_ALGORITHM_HMAC_SHA256": 1, } )
Enum value maps for HmacAlgorithm.
var ( SignatureFormat_name = map[int32]string{ 0: "SIGNATURE_FORMAT_UNSPECIFIED", 1: "SIGNATURE_FORMAT_RAW", } SignatureFormat_value = map[string]int32{ "SIGNATURE_FORMAT_UNSPECIFIED": 0, "SIGNATURE_FORMAT_RAW": 1, } )
Enum value maps for SignatureFormat.
var ( EncryptionKeySpec_name = map[int32]string{ 0: "ENCRYPTION_KEY_SPEC_UNSPECIFIED", 1: "ENCRYPTION_KEY_SPEC_EC_P256", 3: "ENCRYPTION_KEY_SPEC_RSA_2048", } EncryptionKeySpec_value = map[string]int32{ "ENCRYPTION_KEY_SPEC_UNSPECIFIED": 0, "ENCRYPTION_KEY_SPEC_EC_P256": 1, "ENCRYPTION_KEY_SPEC_RSA_2048": 3, } )
Enum value maps for EncryptionKeySpec.
var ( KeyPurpose_name = map[int32]string{ 0: "KEY_PURPOSE_UNSPECIFIED", 1: "KEY_PURPOSE_SIGNING", 2: "KEY_PURPOSE_ENCRYPTION", } KeyPurpose_value = map[string]int32{ "KEY_PURPOSE_UNSPECIFIED": 0, "KEY_PURPOSE_SIGNING": 1, "KEY_PURPOSE_ENCRYPTION": 2, } )
Enum value maps for KeyPurpose.
var ( SigningKeyScheme_name = map[int32]string{ 0: "SIGNING_KEY_SCHEME_UNSPECIFIED", 1: "SIGNING_KEY_SCHEME_ED25519", 2: "SIGNING_KEY_SCHEME_EC_DSA_P256", 3: "SIGNING_KEY_SCHEME_EC_DSA_P384", } SigningKeyScheme_value = map[string]int32{ "SIGNING_KEY_SCHEME_UNSPECIFIED": 0, "SIGNING_KEY_SCHEME_ED25519": 1, "SIGNING_KEY_SCHEME_EC_DSA_P256": 2, "SIGNING_KEY_SCHEME_EC_DSA_P384": 3, } )
Enum value maps for SigningKeyScheme.
var ( EncryptionAlgorithmSpec_name = map[int32]string{ 0: "ENCRYPTION_ALGORITHM_SPEC_UNSPECIFIED", 1: "ENCRYPTION_ALGORITHM_SPEC_ECIES_HKDF_HMAC_SHA256_AES128GCM", 2: "ENCRYPTION_ALGORITHM_SPEC_ECIES_HKDF_HMAC_SHA256_AES128CBC", 3: "ENCRYPTION_ALGORITHM_SPEC_RSA_OAEP_SHA256", } EncryptionAlgorithmSpec_value = map[string]int32{ "ENCRYPTION_ALGORITHM_SPEC_UNSPECIFIED": 0, "ENCRYPTION_ALGORITHM_SPEC_ECIES_HKDF_HMAC_SHA256_AES128GCM": 1, "ENCRYPTION_ALGORITHM_SPEC_ECIES_HKDF_HMAC_SHA256_AES128CBC": 2, "ENCRYPTION_ALGORITHM_SPEC_RSA_OAEP_SHA256": 3, } )
Enum value maps for EncryptionAlgorithmSpec.
var ( EncryptionKeyScheme_name = map[int32]string{ 0: "ENCRYPTION_KEY_SCHEME_UNSPECIFIED", 1: "ENCRYPTION_KEY_SCHEME_ECIES_P256_HKDF_HMAC_SHA256_AES128GCM", 2: "ENCRYPTION_KEY_SCHEME_ECIES_P256_HMAC_SHA256A_ES128CBC", 3: "ENCRYPTION_KEY_SCHEME_RSA2048_OAEP_SHA256", } EncryptionKeyScheme_value = map[string]int32{ "ENCRYPTION_KEY_SCHEME_UNSPECIFIED": 0, "ENCRYPTION_KEY_SCHEME_ECIES_P256_HKDF_HMAC_SHA256_AES128GCM": 1, "ENCRYPTION_KEY_SCHEME_ECIES_P256_HMAC_SHA256A_ES128CBC": 2, "ENCRYPTION_KEY_SCHEME_RSA2048_OAEP_SHA256": 3, } )
Enum value maps for EncryptionKeyScheme.
var ( SymmetricKeyScheme_name = map[int32]string{ 0: "SYMMETRIC_KEY_SCHEME_UNSPECIFIED", 1: "SYMMETRIC_KEY_SCHEME_AES128GCM", } SymmetricKeyScheme_value = map[string]int32{ "SYMMETRIC_KEY_SCHEME_UNSPECIFIED": 0, "SYMMETRIC_KEY_SCHEME_AES128GCM": 1, } )
Enum value maps for SymmetricKeyScheme.
var ( CryptoKeyFormat_name = map[int32]string{ 0: "CRYPTO_KEY_FORMAT_UNSPECIFIED", 2: "CRYPTO_KEY_FORMAT_DER", 3: "CRYPTO_KEY_FORMAT_RAW", 10000: "CRYPTO_KEY_FORMAT_SYMBOLIC", } CryptoKeyFormat_value = map[string]int32{ "CRYPTO_KEY_FORMAT_UNSPECIFIED": 0, "CRYPTO_KEY_FORMAT_DER": 2, "CRYPTO_KEY_FORMAT_RAW": 3, "CRYPTO_KEY_FORMAT_SYMBOLIC": 10000, } )
Enum value maps for CryptoKeyFormat.
var ( PbkdfScheme_name = map[int32]string{ 0: "PBKDF_SCHEME_UNSPECIFIED", 1: "PBKDF_SCHEME_ARGON2ID_MODE1", } PbkdfScheme_value = map[string]int32{ "PBKDF_SCHEME_UNSPECIFIED": 0, "PBKDF_SCHEME_ARGON2ID_MODE1": 1, } )
Enum value maps for PbkdfScheme.
var File_com_digitalasset_canton_crypto_v30_crypto_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CryptoKeyFormat ¶
type CryptoKeyFormat int32
const ( CryptoKeyFormat_CRYPTO_KEY_FORMAT_UNSPECIFIED CryptoKeyFormat = 0 CryptoKeyFormat_CRYPTO_KEY_FORMAT_DER CryptoKeyFormat = 2 CryptoKeyFormat_CRYPTO_KEY_FORMAT_RAW CryptoKeyFormat = 3 CryptoKeyFormat_CRYPTO_KEY_FORMAT_SYMBOLIC CryptoKeyFormat = 10000 )
func (CryptoKeyFormat) Descriptor ¶
func (CryptoKeyFormat) Descriptor() protoreflect.EnumDescriptor
func (CryptoKeyFormat) Enum ¶
func (x CryptoKeyFormat) Enum() *CryptoKeyFormat
func (CryptoKeyFormat) EnumDescriptor
deprecated
func (CryptoKeyFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use CryptoKeyFormat.Descriptor instead.
func (CryptoKeyFormat) Number ¶
func (x CryptoKeyFormat) Number() protoreflect.EnumNumber
func (CryptoKeyFormat) String ¶
func (x CryptoKeyFormat) String() string
func (CryptoKeyFormat) Type ¶
func (CryptoKeyFormat) Type() protoreflect.EnumType
type CryptoKeyPair ¶
type CryptoKeyPair struct { // Types that are assignable to Pair: // // *CryptoKeyPair_SigningKeyPair // *CryptoKeyPair_EncryptionKeyPair Pair isCryptoKeyPair_Pair `protobuf_oneof:"pair"` // contains filtered or unexported fields }
func (*CryptoKeyPair) Descriptor
deprecated
func (*CryptoKeyPair) Descriptor() ([]byte, []int)
Deprecated: Use CryptoKeyPair.ProtoReflect.Descriptor instead.
func (*CryptoKeyPair) GetEncryptionKeyPair ¶
func (x *CryptoKeyPair) GetEncryptionKeyPair() *EncryptionKeyPair
func (*CryptoKeyPair) GetPair ¶
func (m *CryptoKeyPair) GetPair() isCryptoKeyPair_Pair
func (*CryptoKeyPair) GetSigningKeyPair ¶
func (x *CryptoKeyPair) GetSigningKeyPair() *SigningKeyPair
func (*CryptoKeyPair) ProtoMessage ¶
func (*CryptoKeyPair) ProtoMessage()
func (*CryptoKeyPair) ProtoReflect ¶
func (x *CryptoKeyPair) ProtoReflect() protoreflect.Message
func (*CryptoKeyPair) Reset ¶
func (x *CryptoKeyPair) Reset()
func (*CryptoKeyPair) String ¶
func (x *CryptoKeyPair) String() string
type CryptoKeyPair_EncryptionKeyPair ¶
type CryptoKeyPair_EncryptionKeyPair struct {
EncryptionKeyPair *EncryptionKeyPair `protobuf:"bytes,2,opt,name=encryption_key_pair,json=encryptionKeyPair,proto3,oneof"`
}
type CryptoKeyPair_SigningKeyPair ¶
type CryptoKeyPair_SigningKeyPair struct {
SigningKeyPair *SigningKeyPair `protobuf:"bytes,1,opt,name=signing_key_pair,json=signingKeyPair,proto3,oneof"`
}
type EncryptionAlgorithmSpec ¶
type EncryptionAlgorithmSpec int32
const ( EncryptionAlgorithmSpec_ENCRYPTION_ALGORITHM_SPEC_UNSPECIFIED EncryptionAlgorithmSpec = 0 EncryptionAlgorithmSpec_ENCRYPTION_ALGORITHM_SPEC_ECIES_HKDF_HMAC_SHA256_AES128GCM EncryptionAlgorithmSpec = 1 EncryptionAlgorithmSpec_ENCRYPTION_ALGORITHM_SPEC_ECIES_HKDF_HMAC_SHA256_AES128CBC EncryptionAlgorithmSpec = 2 EncryptionAlgorithmSpec_ENCRYPTION_ALGORITHM_SPEC_RSA_OAEP_SHA256 EncryptionAlgorithmSpec = 3 )
func (EncryptionAlgorithmSpec) Descriptor ¶
func (EncryptionAlgorithmSpec) Descriptor() protoreflect.EnumDescriptor
func (EncryptionAlgorithmSpec) Enum ¶
func (x EncryptionAlgorithmSpec) Enum() *EncryptionAlgorithmSpec
func (EncryptionAlgorithmSpec) EnumDescriptor
deprecated
func (EncryptionAlgorithmSpec) EnumDescriptor() ([]byte, []int)
Deprecated: Use EncryptionAlgorithmSpec.Descriptor instead.
func (EncryptionAlgorithmSpec) Number ¶
func (x EncryptionAlgorithmSpec) Number() protoreflect.EnumNumber
func (EncryptionAlgorithmSpec) String ¶
func (x EncryptionAlgorithmSpec) String() string
func (EncryptionAlgorithmSpec) Type ¶
func (EncryptionAlgorithmSpec) Type() protoreflect.EnumType
type EncryptionKeyPair ¶
type EncryptionKeyPair struct { PublicKey *EncryptionPublicKey `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` PrivateKey *EncryptionPrivateKey `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` // contains filtered or unexported fields }
func (*EncryptionKeyPair) Descriptor
deprecated
func (*EncryptionKeyPair) Descriptor() ([]byte, []int)
Deprecated: Use EncryptionKeyPair.ProtoReflect.Descriptor instead.
func (*EncryptionKeyPair) GetPrivateKey ¶
func (x *EncryptionKeyPair) GetPrivateKey() *EncryptionPrivateKey
func (*EncryptionKeyPair) GetPublicKey ¶
func (x *EncryptionKeyPair) GetPublicKey() *EncryptionPublicKey
func (*EncryptionKeyPair) ProtoMessage ¶
func (*EncryptionKeyPair) ProtoMessage()
func (*EncryptionKeyPair) ProtoReflect ¶
func (x *EncryptionKeyPair) ProtoReflect() protoreflect.Message
func (*EncryptionKeyPair) Reset ¶
func (x *EncryptionKeyPair) Reset()
func (*EncryptionKeyPair) String ¶
func (x *EncryptionKeyPair) String() string
type EncryptionKeyScheme ¶
type EncryptionKeyScheme int32
const ( EncryptionKeyScheme_ENCRYPTION_KEY_SCHEME_UNSPECIFIED EncryptionKeyScheme = 0 EncryptionKeyScheme_ENCRYPTION_KEY_SCHEME_ECIES_P256_HKDF_HMAC_SHA256_AES128GCM EncryptionKeyScheme = 1 EncryptionKeyScheme_ENCRYPTION_KEY_SCHEME_ECIES_P256_HMAC_SHA256A_ES128CBC EncryptionKeyScheme = 2 EncryptionKeyScheme_ENCRYPTION_KEY_SCHEME_RSA2048_OAEP_SHA256 EncryptionKeyScheme = 3 )
func (EncryptionKeyScheme) Descriptor ¶
func (EncryptionKeyScheme) Descriptor() protoreflect.EnumDescriptor
func (EncryptionKeyScheme) Enum ¶
func (x EncryptionKeyScheme) Enum() *EncryptionKeyScheme
func (EncryptionKeyScheme) EnumDescriptor
deprecated
func (EncryptionKeyScheme) EnumDescriptor() ([]byte, []int)
Deprecated: Use EncryptionKeyScheme.Descriptor instead.
func (EncryptionKeyScheme) Number ¶
func (x EncryptionKeyScheme) Number() protoreflect.EnumNumber
func (EncryptionKeyScheme) String ¶
func (x EncryptionKeyScheme) String() string
func (EncryptionKeyScheme) Type ¶
func (EncryptionKeyScheme) Type() protoreflect.EnumType
type EncryptionKeySpec ¶
type EncryptionKeySpec int32
const ( EncryptionKeySpec_ENCRYPTION_KEY_SPEC_UNSPECIFIED EncryptionKeySpec = 0 EncryptionKeySpec_ENCRYPTION_KEY_SPEC_EC_P256 EncryptionKeySpec = 1 EncryptionKeySpec_ENCRYPTION_KEY_SPEC_RSA_2048 EncryptionKeySpec = 3 )
func (EncryptionKeySpec) Descriptor ¶
func (EncryptionKeySpec) Descriptor() protoreflect.EnumDescriptor
func (EncryptionKeySpec) Enum ¶
func (x EncryptionKeySpec) Enum() *EncryptionKeySpec
func (EncryptionKeySpec) EnumDescriptor
deprecated
func (EncryptionKeySpec) EnumDescriptor() ([]byte, []int)
Deprecated: Use EncryptionKeySpec.Descriptor instead.
func (EncryptionKeySpec) Number ¶
func (x EncryptionKeySpec) Number() protoreflect.EnumNumber
func (EncryptionKeySpec) String ¶
func (x EncryptionKeySpec) String() string
func (EncryptionKeySpec) Type ¶
func (EncryptionKeySpec) Type() protoreflect.EnumType
type EncryptionPrivateKey ¶
type EncryptionPrivateKey struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Format CryptoKeyFormat `protobuf:"varint,2,opt,name=format,proto3,enum=com.digitalasset.canton.crypto.v30.CryptoKeyFormat" json:"format,omitempty"` PrivateKey []byte `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` // Deprecated: Marked as deprecated in com/digitalasset/canton/crypto/v30/crypto.proto. Scheme EncryptionKeyScheme `` /* 126-byte string literal not displayed */ KeySpec EncryptionKeySpec `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
func (*EncryptionPrivateKey) Descriptor
deprecated
func (*EncryptionPrivateKey) Descriptor() ([]byte, []int)
Deprecated: Use EncryptionPrivateKey.ProtoReflect.Descriptor instead.
func (*EncryptionPrivateKey) GetFormat ¶
func (x *EncryptionPrivateKey) GetFormat() CryptoKeyFormat
func (*EncryptionPrivateKey) GetId ¶
func (x *EncryptionPrivateKey) GetId() string
func (*EncryptionPrivateKey) GetKeySpec ¶
func (x *EncryptionPrivateKey) GetKeySpec() EncryptionKeySpec
func (*EncryptionPrivateKey) GetPrivateKey ¶
func (x *EncryptionPrivateKey) GetPrivateKey() []byte
func (*EncryptionPrivateKey) GetScheme
deprecated
func (x *EncryptionPrivateKey) GetScheme() EncryptionKeyScheme
Deprecated: Marked as deprecated in com/digitalasset/canton/crypto/v30/crypto.proto.
func (*EncryptionPrivateKey) ProtoMessage ¶
func (*EncryptionPrivateKey) ProtoMessage()
func (*EncryptionPrivateKey) ProtoReflect ¶
func (x *EncryptionPrivateKey) ProtoReflect() protoreflect.Message
func (*EncryptionPrivateKey) Reset ¶
func (x *EncryptionPrivateKey) Reset()
func (*EncryptionPrivateKey) String ¶
func (x *EncryptionPrivateKey) String() string
type EncryptionPublicKey ¶
type EncryptionPublicKey struct { Format CryptoKeyFormat `protobuf:"varint,2,opt,name=format,proto3,enum=com.digitalasset.canton.crypto.v30.CryptoKeyFormat" json:"format,omitempty"` PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // Deprecated: Marked as deprecated in com/digitalasset/canton/crypto/v30/crypto.proto. Scheme EncryptionKeyScheme `` /* 126-byte string literal not displayed */ KeySpec EncryptionKeySpec `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
func (*EncryptionPublicKey) Descriptor
deprecated
func (*EncryptionPublicKey) Descriptor() ([]byte, []int)
Deprecated: Use EncryptionPublicKey.ProtoReflect.Descriptor instead.
func (*EncryptionPublicKey) GetFormat ¶
func (x *EncryptionPublicKey) GetFormat() CryptoKeyFormat
func (*EncryptionPublicKey) GetKeySpec ¶
func (x *EncryptionPublicKey) GetKeySpec() EncryptionKeySpec
func (*EncryptionPublicKey) GetPublicKey ¶
func (x *EncryptionPublicKey) GetPublicKey() []byte
func (*EncryptionPublicKey) GetScheme
deprecated
func (x *EncryptionPublicKey) GetScheme() EncryptionKeyScheme
Deprecated: Marked as deprecated in com/digitalasset/canton/crypto/v30/crypto.proto.
func (*EncryptionPublicKey) ProtoMessage ¶
func (*EncryptionPublicKey) ProtoMessage()
func (*EncryptionPublicKey) ProtoReflect ¶
func (x *EncryptionPublicKey) ProtoReflect() protoreflect.Message
func (*EncryptionPublicKey) Reset ¶
func (x *EncryptionPublicKey) Reset()
func (*EncryptionPublicKey) String ¶
func (x *EncryptionPublicKey) String() string
type HashAlgorithm ¶
type HashAlgorithm int32
const ( HashAlgorithm_HASH_ALGORITHM_UNSPECIFIED HashAlgorithm = 0 HashAlgorithm_HASH_ALGORITHM_SHA256 HashAlgorithm = 1 )
func (HashAlgorithm) Descriptor ¶
func (HashAlgorithm) Descriptor() protoreflect.EnumDescriptor
func (HashAlgorithm) Enum ¶
func (x HashAlgorithm) Enum() *HashAlgorithm
func (HashAlgorithm) EnumDescriptor
deprecated
func (HashAlgorithm) EnumDescriptor() ([]byte, []int)
Deprecated: Use HashAlgorithm.Descriptor instead.
func (HashAlgorithm) Number ¶
func (x HashAlgorithm) Number() protoreflect.EnumNumber
func (HashAlgorithm) String ¶
func (x HashAlgorithm) String() string
func (HashAlgorithm) Type ¶
func (HashAlgorithm) Type() protoreflect.EnumType
type Hmac ¶
type Hmac struct { Algorithm HmacAlgorithm `` /* 126-byte string literal not displayed */ Hmac []byte `protobuf:"bytes,2,opt,name=hmac,proto3" json:"hmac,omitempty"` // contains filtered or unexported fields }
func (*Hmac) Descriptor
deprecated
func (*Hmac) GetAlgorithm ¶
func (x *Hmac) GetAlgorithm() HmacAlgorithm
func (*Hmac) ProtoMessage ¶
func (*Hmac) ProtoMessage()
func (*Hmac) ProtoReflect ¶
func (x *Hmac) ProtoReflect() protoreflect.Message
type HmacAlgorithm ¶
type HmacAlgorithm int32
const ( HmacAlgorithm_HMAC_ALGORITHM_UNSPECIFIED HmacAlgorithm = 0 HmacAlgorithm_HMAC_ALGORITHM_HMAC_SHA256 HmacAlgorithm = 1 )
func (HmacAlgorithm) Descriptor ¶
func (HmacAlgorithm) Descriptor() protoreflect.EnumDescriptor
func (HmacAlgorithm) Enum ¶
func (x HmacAlgorithm) Enum() *HmacAlgorithm
func (HmacAlgorithm) EnumDescriptor
deprecated
func (HmacAlgorithm) EnumDescriptor() ([]byte, []int)
Deprecated: Use HmacAlgorithm.Descriptor instead.
func (HmacAlgorithm) Number ¶
func (x HmacAlgorithm) Number() protoreflect.EnumNumber
func (HmacAlgorithm) String ¶
func (x HmacAlgorithm) String() string
func (HmacAlgorithm) Type ¶
func (HmacAlgorithm) Type() protoreflect.EnumType
type KeyPurpose ¶
type KeyPurpose int32
const ( KeyPurpose_KEY_PURPOSE_UNSPECIFIED KeyPurpose = 0 KeyPurpose_KEY_PURPOSE_SIGNING KeyPurpose = 1 KeyPurpose_KEY_PURPOSE_ENCRYPTION KeyPurpose = 2 )
func (KeyPurpose) Descriptor ¶
func (KeyPurpose) Descriptor() protoreflect.EnumDescriptor
func (KeyPurpose) Enum ¶
func (x KeyPurpose) Enum() *KeyPurpose
func (KeyPurpose) EnumDescriptor
deprecated
func (KeyPurpose) EnumDescriptor() ([]byte, []int)
Deprecated: Use KeyPurpose.Descriptor instead.
func (KeyPurpose) Number ¶
func (x KeyPurpose) Number() protoreflect.EnumNumber
func (KeyPurpose) String ¶
func (x KeyPurpose) String() string
func (KeyPurpose) Type ¶
func (KeyPurpose) Type() protoreflect.EnumType
type PasswordBasedEncrypted ¶
type PasswordBasedEncrypted struct { Ciphertext []byte `protobuf:"bytes,1,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"` SymmetricKeyScheme SymmetricKeyScheme `` /* 177-byte string literal not displayed */ PbkdfScheme PbkdfScheme `` /* 147-byte string literal not displayed */ Salt []byte `protobuf:"bytes,4,opt,name=salt,proto3" json:"salt,omitempty"` // contains filtered or unexported fields }
func (*PasswordBasedEncrypted) Descriptor
deprecated
func (*PasswordBasedEncrypted) Descriptor() ([]byte, []int)
Deprecated: Use PasswordBasedEncrypted.ProtoReflect.Descriptor instead.
func (*PasswordBasedEncrypted) GetCiphertext ¶
func (x *PasswordBasedEncrypted) GetCiphertext() []byte
func (*PasswordBasedEncrypted) GetPbkdfScheme ¶
func (x *PasswordBasedEncrypted) GetPbkdfScheme() PbkdfScheme
func (*PasswordBasedEncrypted) GetSalt ¶
func (x *PasswordBasedEncrypted) GetSalt() []byte
func (*PasswordBasedEncrypted) GetSymmetricKeyScheme ¶
func (x *PasswordBasedEncrypted) GetSymmetricKeyScheme() SymmetricKeyScheme
func (*PasswordBasedEncrypted) ProtoMessage ¶
func (*PasswordBasedEncrypted) ProtoMessage()
func (*PasswordBasedEncrypted) ProtoReflect ¶
func (x *PasswordBasedEncrypted) ProtoReflect() protoreflect.Message
func (*PasswordBasedEncrypted) Reset ¶
func (x *PasswordBasedEncrypted) Reset()
func (*PasswordBasedEncrypted) String ¶
func (x *PasswordBasedEncrypted) String() string
type PbkdfScheme ¶
type PbkdfScheme int32
const ( PbkdfScheme_PBKDF_SCHEME_UNSPECIFIED PbkdfScheme = 0 PbkdfScheme_PBKDF_SCHEME_ARGON2ID_MODE1 PbkdfScheme = 1 )
func (PbkdfScheme) Descriptor ¶
func (PbkdfScheme) Descriptor() protoreflect.EnumDescriptor
func (PbkdfScheme) Enum ¶
func (x PbkdfScheme) Enum() *PbkdfScheme
func (PbkdfScheme) EnumDescriptor
deprecated
func (PbkdfScheme) EnumDescriptor() ([]byte, []int)
Deprecated: Use PbkdfScheme.Descriptor instead.
func (PbkdfScheme) Number ¶
func (x PbkdfScheme) Number() protoreflect.EnumNumber
func (PbkdfScheme) String ¶
func (x PbkdfScheme) String() string
func (PbkdfScheme) Type ¶
func (PbkdfScheme) Type() protoreflect.EnumType
type PrivateKey ¶
type PrivateKey struct { // Types that are assignable to Key: // // *PrivateKey_SigningPrivateKey // *PrivateKey_EncryptionPrivateKey Key isPrivateKey_Key `protobuf_oneof:"key"` // contains filtered or unexported fields }
func (*PrivateKey) Descriptor
deprecated
func (*PrivateKey) Descriptor() ([]byte, []int)
Deprecated: Use PrivateKey.ProtoReflect.Descriptor instead.
func (*PrivateKey) GetEncryptionPrivateKey ¶
func (x *PrivateKey) GetEncryptionPrivateKey() *EncryptionPrivateKey
func (*PrivateKey) GetKey ¶
func (m *PrivateKey) GetKey() isPrivateKey_Key
func (*PrivateKey) GetSigningPrivateKey ¶
func (x *PrivateKey) GetSigningPrivateKey() *SigningPrivateKey
func (*PrivateKey) ProtoMessage ¶
func (*PrivateKey) ProtoMessage()
func (*PrivateKey) ProtoReflect ¶
func (x *PrivateKey) ProtoReflect() protoreflect.Message
func (*PrivateKey) Reset ¶
func (x *PrivateKey) Reset()
func (*PrivateKey) String ¶
func (x *PrivateKey) String() string
type PrivateKey_EncryptionPrivateKey ¶
type PrivateKey_EncryptionPrivateKey struct {
EncryptionPrivateKey *EncryptionPrivateKey `protobuf:"bytes,2,opt,name=encryption_private_key,json=encryptionPrivateKey,proto3,oneof"`
}
type PrivateKey_SigningPrivateKey ¶
type PrivateKey_SigningPrivateKey struct {
SigningPrivateKey *SigningPrivateKey `protobuf:"bytes,1,opt,name=signing_private_key,json=signingPrivateKey,proto3,oneof"`
}
type PublicKey ¶
type PublicKey struct { // Types that are assignable to Key: // // *PublicKey_SigningPublicKey // *PublicKey_EncryptionPublicKey Key isPublicKey_Key `protobuf_oneof:"key"` // contains filtered or unexported fields }
func (*PublicKey) Descriptor
deprecated
func (*PublicKey) GetEncryptionPublicKey ¶
func (x *PublicKey) GetEncryptionPublicKey() *EncryptionPublicKey
func (*PublicKey) GetSigningPublicKey ¶
func (x *PublicKey) GetSigningPublicKey() *SigningPublicKey
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) ProtoReflect ¶
func (x *PublicKey) ProtoReflect() protoreflect.Message
type PublicKeyWithName ¶
type PublicKeyWithName struct { PublicKey *PublicKey `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*PublicKeyWithName) Descriptor
deprecated
func (*PublicKeyWithName) Descriptor() ([]byte, []int)
Deprecated: Use PublicKeyWithName.ProtoReflect.Descriptor instead.
func (*PublicKeyWithName) GetName ¶
func (x *PublicKeyWithName) GetName() string
func (*PublicKeyWithName) GetPublicKey ¶
func (x *PublicKeyWithName) GetPublicKey() *PublicKey
func (*PublicKeyWithName) ProtoMessage ¶
func (*PublicKeyWithName) ProtoMessage()
func (*PublicKeyWithName) ProtoReflect ¶
func (x *PublicKeyWithName) ProtoReflect() protoreflect.Message
func (*PublicKeyWithName) Reset ¶
func (x *PublicKeyWithName) Reset()
func (*PublicKeyWithName) String ¶
func (x *PublicKeyWithName) String() string
type PublicKey_EncryptionPublicKey ¶
type PublicKey_EncryptionPublicKey struct {
EncryptionPublicKey *EncryptionPublicKey `protobuf:"bytes,2,opt,name=encryption_public_key,json=encryptionPublicKey,proto3,oneof"`
}
type PublicKey_SigningPublicKey ¶
type PublicKey_SigningPublicKey struct {
SigningPublicKey *SigningPublicKey `protobuf:"bytes,1,opt,name=signing_public_key,json=signingPublicKey,proto3,oneof"`
}
type RequiredEncryptionSpecs ¶
type RequiredEncryptionSpecs struct { Algorithms []EncryptionAlgorithmSpec `` /* 145-byte string literal not displayed */ Keys []EncryptionKeySpec `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RequiredEncryptionSpecs) Descriptor
deprecated
func (*RequiredEncryptionSpecs) Descriptor() ([]byte, []int)
Deprecated: Use RequiredEncryptionSpecs.ProtoReflect.Descriptor instead.
func (*RequiredEncryptionSpecs) GetAlgorithms ¶
func (x *RequiredEncryptionSpecs) GetAlgorithms() []EncryptionAlgorithmSpec
func (*RequiredEncryptionSpecs) GetKeys ¶
func (x *RequiredEncryptionSpecs) GetKeys() []EncryptionKeySpec
func (*RequiredEncryptionSpecs) ProtoMessage ¶
func (*RequiredEncryptionSpecs) ProtoMessage()
func (*RequiredEncryptionSpecs) ProtoReflect ¶
func (x *RequiredEncryptionSpecs) ProtoReflect() protoreflect.Message
func (*RequiredEncryptionSpecs) Reset ¶
func (x *RequiredEncryptionSpecs) Reset()
func (*RequiredEncryptionSpecs) String ¶
func (x *RequiredEncryptionSpecs) String() string
type Salt ¶
type Salt struct { // Types that are assignable to Algorithm: // // *Salt_Hmac Algorithm isSalt_Algorithm `protobuf_oneof:"algorithm"` Salt []byte `protobuf:"bytes,2,opt,name=salt,proto3" json:"salt,omitempty"` // contains filtered or unexported fields }
func (*Salt) Descriptor
deprecated
func (*Salt) GetAlgorithm ¶
func (m *Salt) GetAlgorithm() isSalt_Algorithm
func (*Salt) GetHmac ¶
func (x *Salt) GetHmac() HmacAlgorithm
func (*Salt) ProtoMessage ¶
func (*Salt) ProtoMessage()
func (*Salt) ProtoReflect ¶
func (x *Salt) ProtoReflect() protoreflect.Message
type Salt_Hmac ¶
type Salt_Hmac struct {
Hmac HmacAlgorithm `protobuf:"varint,1,opt,name=hmac,proto3,enum=com.digitalasset.canton.crypto.v30.HmacAlgorithm,oneof"`
}
type Signature ¶
type Signature struct { Format SignatureFormat `protobuf:"varint,1,opt,name=format,proto3,enum=com.digitalasset.canton.crypto.v30.SignatureFormat" json:"format,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` SignedBy string `protobuf:"bytes,3,opt,name=signed_by,json=signedBy,proto3" json:"signed_by,omitempty"` // contains filtered or unexported fields }
func (*Signature) Descriptor
deprecated
func (*Signature) GetFormat ¶
func (x *Signature) GetFormat() SignatureFormat
func (*Signature) GetSignature ¶
func (*Signature) GetSignedBy ¶
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
func (*Signature) ProtoReflect ¶
func (x *Signature) ProtoReflect() protoreflect.Message
type SignatureFormat ¶
type SignatureFormat int32
const ( SignatureFormat_SIGNATURE_FORMAT_UNSPECIFIED SignatureFormat = 0 SignatureFormat_SIGNATURE_FORMAT_RAW SignatureFormat = 1 )
func (SignatureFormat) Descriptor ¶
func (SignatureFormat) Descriptor() protoreflect.EnumDescriptor
func (SignatureFormat) Enum ¶
func (x SignatureFormat) Enum() *SignatureFormat
func (SignatureFormat) EnumDescriptor
deprecated
func (SignatureFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use SignatureFormat.Descriptor instead.
func (SignatureFormat) Number ¶
func (x SignatureFormat) Number() protoreflect.EnumNumber
func (SignatureFormat) String ¶
func (x SignatureFormat) String() string
func (SignatureFormat) Type ¶
func (SignatureFormat) Type() protoreflect.EnumType
type SigningKeyPair ¶
type SigningKeyPair struct { PublicKey *SigningPublicKey `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` PrivateKey *SigningPrivateKey `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` // contains filtered or unexported fields }
func (*SigningKeyPair) Descriptor
deprecated
func (*SigningKeyPair) Descriptor() ([]byte, []int)
Deprecated: Use SigningKeyPair.ProtoReflect.Descriptor instead.
func (*SigningKeyPair) GetPrivateKey ¶
func (x *SigningKeyPair) GetPrivateKey() *SigningPrivateKey
func (*SigningKeyPair) GetPublicKey ¶
func (x *SigningKeyPair) GetPublicKey() *SigningPublicKey
func (*SigningKeyPair) ProtoMessage ¶
func (*SigningKeyPair) ProtoMessage()
func (*SigningKeyPair) ProtoReflect ¶
func (x *SigningKeyPair) ProtoReflect() protoreflect.Message
func (*SigningKeyPair) Reset ¶
func (x *SigningKeyPair) Reset()
func (*SigningKeyPair) String ¶
func (x *SigningKeyPair) String() string
type SigningKeyScheme ¶
type SigningKeyScheme int32
const ( SigningKeyScheme_SIGNING_KEY_SCHEME_UNSPECIFIED SigningKeyScheme = 0 SigningKeyScheme_SIGNING_KEY_SCHEME_ED25519 SigningKeyScheme = 1 SigningKeyScheme_SIGNING_KEY_SCHEME_EC_DSA_P256 SigningKeyScheme = 2 SigningKeyScheme_SIGNING_KEY_SCHEME_EC_DSA_P384 SigningKeyScheme = 3 )
func (SigningKeyScheme) Descriptor ¶
func (SigningKeyScheme) Descriptor() protoreflect.EnumDescriptor
func (SigningKeyScheme) Enum ¶
func (x SigningKeyScheme) Enum() *SigningKeyScheme
func (SigningKeyScheme) EnumDescriptor
deprecated
func (SigningKeyScheme) EnumDescriptor() ([]byte, []int)
Deprecated: Use SigningKeyScheme.Descriptor instead.
func (SigningKeyScheme) Number ¶
func (x SigningKeyScheme) Number() protoreflect.EnumNumber
func (SigningKeyScheme) String ¶
func (x SigningKeyScheme) String() string
func (SigningKeyScheme) Type ¶
func (SigningKeyScheme) Type() protoreflect.EnumType
type SigningPrivateKey ¶
type SigningPrivateKey struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Format CryptoKeyFormat `protobuf:"varint,2,opt,name=format,proto3,enum=com.digitalasset.canton.crypto.v30.CryptoKeyFormat" json:"format,omitempty"` PrivateKey []byte `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` Scheme SigningKeyScheme `protobuf:"varint,4,opt,name=scheme,proto3,enum=com.digitalasset.canton.crypto.v30.SigningKeyScheme" json:"scheme,omitempty"` // contains filtered or unexported fields }
func (*SigningPrivateKey) Descriptor
deprecated
func (*SigningPrivateKey) Descriptor() ([]byte, []int)
Deprecated: Use SigningPrivateKey.ProtoReflect.Descriptor instead.
func (*SigningPrivateKey) GetFormat ¶
func (x *SigningPrivateKey) GetFormat() CryptoKeyFormat
func (*SigningPrivateKey) GetId ¶
func (x *SigningPrivateKey) GetId() string
func (*SigningPrivateKey) GetPrivateKey ¶
func (x *SigningPrivateKey) GetPrivateKey() []byte
func (*SigningPrivateKey) GetScheme ¶
func (x *SigningPrivateKey) GetScheme() SigningKeyScheme
func (*SigningPrivateKey) ProtoMessage ¶
func (*SigningPrivateKey) ProtoMessage()
func (*SigningPrivateKey) ProtoReflect ¶
func (x *SigningPrivateKey) ProtoReflect() protoreflect.Message
func (*SigningPrivateKey) Reset ¶
func (x *SigningPrivateKey) Reset()
func (*SigningPrivateKey) String ¶
func (x *SigningPrivateKey) String() string
type SigningPublicKey ¶
type SigningPublicKey struct { Format CryptoKeyFormat `protobuf:"varint,2,opt,name=format,proto3,enum=com.digitalasset.canton.crypto.v30.CryptoKeyFormat" json:"format,omitempty"` PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` Scheme SigningKeyScheme `protobuf:"varint,4,opt,name=scheme,proto3,enum=com.digitalasset.canton.crypto.v30.SigningKeyScheme" json:"scheme,omitempty"` // contains filtered or unexported fields }
func (*SigningPublicKey) Descriptor
deprecated
func (*SigningPublicKey) Descriptor() ([]byte, []int)
Deprecated: Use SigningPublicKey.ProtoReflect.Descriptor instead.
func (*SigningPublicKey) GetFormat ¶
func (x *SigningPublicKey) GetFormat() CryptoKeyFormat
func (*SigningPublicKey) GetPublicKey ¶
func (x *SigningPublicKey) GetPublicKey() []byte
func (*SigningPublicKey) GetScheme ¶
func (x *SigningPublicKey) GetScheme() SigningKeyScheme
func (*SigningPublicKey) ProtoMessage ¶
func (*SigningPublicKey) ProtoMessage()
func (*SigningPublicKey) ProtoReflect ¶
func (x *SigningPublicKey) ProtoReflect() protoreflect.Message
func (*SigningPublicKey) Reset ¶
func (x *SigningPublicKey) Reset()
func (*SigningPublicKey) String ¶
func (x *SigningPublicKey) String() string
type SymmetricKey ¶
type SymmetricKey struct { Format CryptoKeyFormat `protobuf:"varint,1,opt,name=format,proto3,enum=com.digitalasset.canton.crypto.v30.CryptoKeyFormat" json:"format,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Scheme SymmetricKeyScheme `protobuf:"varint,3,opt,name=scheme,proto3,enum=com.digitalasset.canton.crypto.v30.SymmetricKeyScheme" json:"scheme,omitempty"` // contains filtered or unexported fields }
func (*SymmetricKey) Descriptor
deprecated
func (*SymmetricKey) Descriptor() ([]byte, []int)
Deprecated: Use SymmetricKey.ProtoReflect.Descriptor instead.
func (*SymmetricKey) GetFormat ¶
func (x *SymmetricKey) GetFormat() CryptoKeyFormat
func (*SymmetricKey) GetKey ¶
func (x *SymmetricKey) GetKey() []byte
func (*SymmetricKey) GetScheme ¶
func (x *SymmetricKey) GetScheme() SymmetricKeyScheme
func (*SymmetricKey) ProtoMessage ¶
func (*SymmetricKey) ProtoMessage()
func (*SymmetricKey) ProtoReflect ¶
func (x *SymmetricKey) ProtoReflect() protoreflect.Message
func (*SymmetricKey) Reset ¶
func (x *SymmetricKey) Reset()
func (*SymmetricKey) String ¶
func (x *SymmetricKey) String() string
type SymmetricKeyScheme ¶
type SymmetricKeyScheme int32
const ( SymmetricKeyScheme_SYMMETRIC_KEY_SCHEME_UNSPECIFIED SymmetricKeyScheme = 0 SymmetricKeyScheme_SYMMETRIC_KEY_SCHEME_AES128GCM SymmetricKeyScheme = 1 )
func (SymmetricKeyScheme) Descriptor ¶
func (SymmetricKeyScheme) Descriptor() protoreflect.EnumDescriptor
func (SymmetricKeyScheme) Enum ¶
func (x SymmetricKeyScheme) Enum() *SymmetricKeyScheme
func (SymmetricKeyScheme) EnumDescriptor
deprecated
func (SymmetricKeyScheme) EnumDescriptor() ([]byte, []int)
Deprecated: Use SymmetricKeyScheme.Descriptor instead.
func (SymmetricKeyScheme) Number ¶
func (x SymmetricKeyScheme) Number() protoreflect.EnumNumber
func (SymmetricKeyScheme) String ¶
func (x SymmetricKeyScheme) String() string
func (SymmetricKeyScheme) Type ¶
func (SymmetricKeyScheme) Type() protoreflect.EnumType