Documentation ¶
Index ¶
- type ChaCha20Poly1305Key
- func (*ChaCha20Poly1305Key) Descriptor() ([]byte, []int)
- func (m *ChaCha20Poly1305Key) GetKeyValue() []byte
- func (m *ChaCha20Poly1305Key) GetVersion() uint32
- func (*ChaCha20Poly1305Key) ProtoMessage()
- func (m *ChaCha20Poly1305Key) Reset()
- func (m *ChaCha20Poly1305Key) String() string
- func (m *ChaCha20Poly1305Key) XXX_DiscardUnknown()
- func (m *ChaCha20Poly1305Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChaCha20Poly1305Key) XXX_Merge(src proto.Message)
- func (m *ChaCha20Poly1305Key) XXX_Size() int
- func (m *ChaCha20Poly1305Key) XXX_Unmarshal(b []byte) error
- type ChaCha20Poly1305KeyFormat
- func (*ChaCha20Poly1305KeyFormat) Descriptor() ([]byte, []int)
- func (*ChaCha20Poly1305KeyFormat) ProtoMessage()
- func (m *ChaCha20Poly1305KeyFormat) Reset()
- func (m *ChaCha20Poly1305KeyFormat) String() string
- func (m *ChaCha20Poly1305KeyFormat) XXX_DiscardUnknown()
- func (m *ChaCha20Poly1305KeyFormat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChaCha20Poly1305KeyFormat) XXX_Merge(src proto.Message)
- func (m *ChaCha20Poly1305KeyFormat) XXX_Size() int
- func (m *ChaCha20Poly1305KeyFormat) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChaCha20Poly1305Key ¶
type ChaCha20Poly1305Key struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` KeyValue []byte `protobuf:"bytes,2,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
key_type: type.googleapis.com/google.crypto.tink.ChaCha20Poly1305. This key type actually implements ChaCha20Poly1305 as described at https://tools.ietf.org/html/rfc7539#section-2.8.
func (*ChaCha20Poly1305Key) Descriptor ¶
func (*ChaCha20Poly1305Key) Descriptor() ([]byte, []int)
func (*ChaCha20Poly1305Key) GetKeyValue ¶
func (m *ChaCha20Poly1305Key) GetKeyValue() []byte
func (*ChaCha20Poly1305Key) GetVersion ¶
func (m *ChaCha20Poly1305Key) GetVersion() uint32
func (*ChaCha20Poly1305Key) ProtoMessage ¶
func (*ChaCha20Poly1305Key) ProtoMessage()
func (*ChaCha20Poly1305Key) Reset ¶
func (m *ChaCha20Poly1305Key) Reset()
func (*ChaCha20Poly1305Key) String ¶
func (m *ChaCha20Poly1305Key) String() string
func (*ChaCha20Poly1305Key) XXX_DiscardUnknown ¶
func (m *ChaCha20Poly1305Key) XXX_DiscardUnknown()
func (*ChaCha20Poly1305Key) XXX_Marshal ¶
func (m *ChaCha20Poly1305Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChaCha20Poly1305Key) XXX_Merge ¶
func (m *ChaCha20Poly1305Key) XXX_Merge(src proto.Message)
func (*ChaCha20Poly1305Key) XXX_Size ¶
func (m *ChaCha20Poly1305Key) XXX_Size() int
func (*ChaCha20Poly1305Key) XXX_Unmarshal ¶
func (m *ChaCha20Poly1305Key) XXX_Unmarshal(b []byte) error
type ChaCha20Poly1305KeyFormat ¶
type ChaCha20Poly1305KeyFormat struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChaCha20Poly1305KeyFormat) Descriptor ¶
func (*ChaCha20Poly1305KeyFormat) Descriptor() ([]byte, []int)
func (*ChaCha20Poly1305KeyFormat) ProtoMessage ¶
func (*ChaCha20Poly1305KeyFormat) ProtoMessage()
func (*ChaCha20Poly1305KeyFormat) Reset ¶
func (m *ChaCha20Poly1305KeyFormat) Reset()
func (*ChaCha20Poly1305KeyFormat) String ¶
func (m *ChaCha20Poly1305KeyFormat) String() string
func (*ChaCha20Poly1305KeyFormat) XXX_DiscardUnknown ¶
func (m *ChaCha20Poly1305KeyFormat) XXX_DiscardUnknown()
func (*ChaCha20Poly1305KeyFormat) XXX_Marshal ¶
func (m *ChaCha20Poly1305KeyFormat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChaCha20Poly1305KeyFormat) XXX_Merge ¶
func (m *ChaCha20Poly1305KeyFormat) XXX_Merge(src proto.Message)
func (*ChaCha20Poly1305KeyFormat) XXX_Size ¶
func (m *ChaCha20Poly1305KeyFormat) XXX_Size() int
func (*ChaCha20Poly1305KeyFormat) XXX_Unmarshal ¶
func (m *ChaCha20Poly1305KeyFormat) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.