Versions in this module Expand all Collapse all v0 v0.7.0 Sep 18, 2026 Changes in this version + var File_api_ext_v1_key_material_proto protoreflect.FileDescriptor + var KeyMaterial_Cipher_name = map[int32]string + var KeyMaterial_Cipher_value = map[string]int32 + type KeyMaterial struct + Cipher KeyMaterial_Cipher + EncryptedDek []byte + Namespace string + Nonce []byte + Opaque []byte + Version string + func UnmarshalKeyMaterial(raw []byte) (*KeyMaterial, error) + func (*KeyMaterial) Descriptor() ([]byte, []int) + func (*KeyMaterial) ProtoMessage() + func (km *KeyMaterial) Marshal() ([]byte, error) + func (km *KeyMaterial) Validate() error + func (x *KeyMaterial) GetCipher() KeyMaterial_Cipher + func (x *KeyMaterial) GetEncryptedDek() []byte + func (x *KeyMaterial) GetNamespace() string + func (x *KeyMaterial) GetNonce() []byte + func (x *KeyMaterial) GetOpaque() []byte + func (x *KeyMaterial) GetVersion() string + func (x *KeyMaterial) ProtoReflect() protoreflect.Message + func (x *KeyMaterial) Reset() + func (x *KeyMaterial) String() string + type KeyMaterial_Cipher int32 + const KeyMaterial_CIPHER_AES_256_GCM + const KeyMaterial_CIPHER_CHACHA20_POLY1305 + const KeyMaterial_CIPHER_UNSPECIFIED + const KeyMaterial_CIPHER_XCHACHA20_POLY1305 + func (KeyMaterial_Cipher) Descriptor() protoreflect.EnumDescriptor + func (KeyMaterial_Cipher) EnumDescriptor() ([]byte, []int) + func (KeyMaterial_Cipher) Type() protoreflect.EnumType + func (x KeyMaterial_Cipher) Enum() *KeyMaterial_Cipher + func (x KeyMaterial_Cipher) Number() protoreflect.EnumNumber + func (x KeyMaterial_Cipher) String() string