Documentation
¶
Index ¶
- Variables
- type ECPublicKey
- func (*ECPublicKey) Descriptor() ([]byte, []int)
- func (m *ECPublicKey) GetCurveType() common_go_proto.EllipticCurveType
- func (m *ECPublicKey) GetKID() string
- func (m *ECPublicKey) GetKeyType() KeyType
- func (m *ECPublicKey) GetVersion() uint32
- func (m *ECPublicKey) GetX() []byte
- func (m *ECPublicKey) GetY() []byte
- func (*ECPublicKey) ProtoMessage()
- func (m *ECPublicKey) Reset()
- func (m *ECPublicKey) String() string
- func (m *ECPublicKey) XXX_DiscardUnknown()
- func (m *ECPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ECPublicKey) XXX_Merge(src proto.Message)
- func (m *ECPublicKey) XXX_Size() int
- func (m *ECPublicKey) XXX_Unmarshal(b []byte) error
- type KeyType
Constants ¶
This section is empty.
Variables ¶
View Source
var KeyType_name = map[int32]string{
0: "UNKNOWN_KEY_TYPE",
1: "EC",
2: "OKP",
}
View Source
var KeyType_value = map[string]int32{
"UNKNOWN_KEY_TYPE": 0,
"EC": 1,
"OKP": 2,
}
Functions ¶
This section is empty.
Types ¶
type ECPublicKey ¶
type ECPublicKey struct {
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
CurveType common_go_proto.EllipticCurveType `` /* 131-byte string literal not displayed */
KeyType KeyType `protobuf:"varint,3,opt,name=key_type,json=keyType,proto3,enum=google.crypto.tink.KeyType" json:"key_type,omitempty"`
KID string `protobuf:"bytes,4,opt,name=KID,proto3" json:"KID,omitempty"`
X []byte `protobuf:"bytes,5,opt,name=x,proto3" json:"x,omitempty"`
Y []byte `protobuf:"bytes,6,opt,name=y,proto3" json:"y,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ECPublicKey) Descriptor ¶
func (*ECPublicKey) Descriptor() ([]byte, []int)
func (*ECPublicKey) GetCurveType ¶
func (m *ECPublicKey) GetCurveType() common_go_proto.EllipticCurveType
func (*ECPublicKey) GetKID ¶
func (m *ECPublicKey) GetKID() string
func (*ECPublicKey) GetKeyType ¶
func (m *ECPublicKey) GetKeyType() KeyType
func (*ECPublicKey) GetVersion ¶
func (m *ECPublicKey) GetVersion() uint32
func (*ECPublicKey) GetX ¶
func (m *ECPublicKey) GetX() []byte
func (*ECPublicKey) GetY ¶
func (m *ECPublicKey) GetY() []byte
func (*ECPublicKey) ProtoMessage ¶
func (*ECPublicKey) ProtoMessage()
func (*ECPublicKey) Reset ¶
func (m *ECPublicKey) Reset()
func (*ECPublicKey) String ¶
func (m *ECPublicKey) String() string
func (*ECPublicKey) XXX_DiscardUnknown ¶
func (m *ECPublicKey) XXX_DiscardUnknown()
func (*ECPublicKey) XXX_Marshal ¶
func (m *ECPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ECPublicKey) XXX_Merge ¶
func (m *ECPublicKey) XXX_Merge(src proto.Message)
func (*ECPublicKey) XXX_Size ¶
func (m *ECPublicKey) XXX_Size() int
func (*ECPublicKey) XXX_Unmarshal ¶
func (m *ECPublicKey) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.