Documentation
¶
Index ¶
- Variables
- type Key
- func (*Key) Descriptor() ([]byte, []int)deprecated
- func (x *Key) GetData() []byte
- func (x *Key) GetType() KeyType
- func (m *Key) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Key) MarshalToVT(dAtA []byte) (int, error)
- func (m *Key) MarshalVT() (dAtA []byte, err error)
- func (*Key) ProtoMessage()
- func (x *Key) ProtoReflect() protoreflect.Message
- func (x *Key) Reset()
- func (m *Key) SizeVT() (n int)
- func (x *Key) String() string
- func (m *Key) UnmarshalVT(dAtA []byte) error
- type KeyType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( KeyType_name = map[int32]string{ 0: "Ed25519Public", 1: "Ed25519Private", 2: "AES", } KeyType_value = map[string]int32{ "Ed25519Public": 0, "Ed25519Private": 1, "AES": 2, } )
Enum value maps for KeyType.
View Source
var File_crypto_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key struct {
Type KeyType `protobuf:"varint,1,opt,name=Type,proto3,enum=crypto.KeyType" json:"Type,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"`
// contains filtered or unexported fields
}
func (*Key) Descriptor
deprecated
func (*Key) MarshalToSizedBufferVT ¶ added in v0.9.0
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
func (*Key) ProtoReflect ¶ added in v0.9.0
func (x *Key) ProtoReflect() protoreflect.Message
func (*Key) UnmarshalVT ¶ added in v0.9.0
type KeyType ¶
type KeyType int32
func (KeyType) Descriptor ¶ added in v0.9.0
func (KeyType) Descriptor() protoreflect.EnumDescriptor
func (KeyType) EnumDescriptor
deprecated
func (KeyType) Number ¶ added in v0.9.0
func (x KeyType) Number() protoreflect.EnumNumber
func (KeyType) Type ¶ added in v0.9.0
func (KeyType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.