Documentation ¶
Index ¶
- Variables
- 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 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
Constants ¶
This section is empty.
Variables ¶
View Source
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.
View Source
var File_com_digitalasset_canton_admin_crypto_v30_crypto_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
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 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.admin.crypto.v30.HmacAlgorithm,oneof"`
}
Click to show internal directories.
Click to hide internal directories.