Documentation ¶
Index ¶
- type Ed25519PrivateKey
- func (*Ed25519PrivateKey) Descriptor() ([]byte, []int)
- func (m *Ed25519PrivateKey) GetKeyValue() []byte
- func (m *Ed25519PrivateKey) GetPublicKey() *Ed25519PublicKey
- func (m *Ed25519PrivateKey) GetVersion() uint32
- func (*Ed25519PrivateKey) ProtoMessage()
- func (m *Ed25519PrivateKey) Reset()
- func (m *Ed25519PrivateKey) String() string
- func (m *Ed25519PrivateKey) XXX_DiscardUnknown()
- func (m *Ed25519PrivateKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ed25519PrivateKey) XXX_Merge(src proto.Message)
- func (m *Ed25519PrivateKey) XXX_Size() int
- func (m *Ed25519PrivateKey) XXX_Unmarshal(b []byte) error
- type Ed25519PublicKey
- func (*Ed25519PublicKey) Descriptor() ([]byte, []int)
- func (m *Ed25519PublicKey) GetKeyValue() []byte
- func (m *Ed25519PublicKey) GetVersion() uint32
- func (*Ed25519PublicKey) ProtoMessage()
- func (m *Ed25519PublicKey) Reset()
- func (m *Ed25519PublicKey) String() string
- func (m *Ed25519PublicKey) XXX_DiscardUnknown()
- func (m *Ed25519PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ed25519PublicKey) XXX_Merge(src proto.Message)
- func (m *Ed25519PublicKey) XXX_Size() int
- func (m *Ed25519PublicKey) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ed25519PrivateKey ¶
type Ed25519PrivateKey struct { // Required. Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // The private key is 32 bytes of cryptographically secure random data. // See https://tools.ietf.org/html/rfc8032#section-5.1.5. // Required. KeyValue []byte `protobuf:"bytes,2,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"` // The corresponding public key. PublicKey *Ed25519PublicKey `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
key_type: type.googleapis.com/google.crypto.tink.Ed25519PrivateKey
func (*Ed25519PrivateKey) Descriptor ¶
func (*Ed25519PrivateKey) Descriptor() ([]byte, []int)
func (*Ed25519PrivateKey) GetKeyValue ¶
func (m *Ed25519PrivateKey) GetKeyValue() []byte
func (*Ed25519PrivateKey) GetPublicKey ¶
func (m *Ed25519PrivateKey) GetPublicKey() *Ed25519PublicKey
func (*Ed25519PrivateKey) GetVersion ¶
func (m *Ed25519PrivateKey) GetVersion() uint32
func (*Ed25519PrivateKey) ProtoMessage ¶
func (*Ed25519PrivateKey) ProtoMessage()
func (*Ed25519PrivateKey) Reset ¶
func (m *Ed25519PrivateKey) Reset()
func (*Ed25519PrivateKey) String ¶
func (m *Ed25519PrivateKey) String() string
func (*Ed25519PrivateKey) XXX_DiscardUnknown ¶
func (m *Ed25519PrivateKey) XXX_DiscardUnknown()
func (*Ed25519PrivateKey) XXX_Marshal ¶
func (m *Ed25519PrivateKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Ed25519PrivateKey) XXX_Merge ¶
func (m *Ed25519PrivateKey) XXX_Merge(src proto.Message)
func (*Ed25519PrivateKey) XXX_Size ¶
func (m *Ed25519PrivateKey) XXX_Size() int
func (*Ed25519PrivateKey) XXX_Unmarshal ¶
func (m *Ed25519PrivateKey) XXX_Unmarshal(b []byte) error
type Ed25519PublicKey ¶
type Ed25519PublicKey struct { // Required. Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // The public key is 32 bytes, encoded according to // https://tools.ietf.org/html/rfc8032#section-5.1.2. // Required. 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.Ed25519PublicKey
func (*Ed25519PublicKey) Descriptor ¶
func (*Ed25519PublicKey) Descriptor() ([]byte, []int)
func (*Ed25519PublicKey) GetKeyValue ¶
func (m *Ed25519PublicKey) GetKeyValue() []byte
func (*Ed25519PublicKey) GetVersion ¶
func (m *Ed25519PublicKey) GetVersion() uint32
func (*Ed25519PublicKey) ProtoMessage ¶
func (*Ed25519PublicKey) ProtoMessage()
func (*Ed25519PublicKey) Reset ¶
func (m *Ed25519PublicKey) Reset()
func (*Ed25519PublicKey) String ¶
func (m *Ed25519PublicKey) String() string
func (*Ed25519PublicKey) XXX_DiscardUnknown ¶
func (m *Ed25519PublicKey) XXX_DiscardUnknown()
func (*Ed25519PublicKey) XXX_Marshal ¶
func (m *Ed25519PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Ed25519PublicKey) XXX_Merge ¶
func (m *Ed25519PublicKey) XXX_Merge(src proto.Message)
func (*Ed25519PublicKey) XXX_Size ¶
func (m *Ed25519PublicKey) XXX_Size() int
func (*Ed25519PublicKey) XXX_Unmarshal ¶
func (m *Ed25519PublicKey) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.