Documentation ¶
Index ¶
- Variables
- type EcdhAeadEncParams
- func (*EcdhAeadEncParams) Descriptor() ([]byte, []int)
- func (m *EcdhAeadEncParams) GetAeadEnc() *tink_go_proto.KeyTemplate
- func (m *EcdhAeadEncParams) GetCEK() []byte
- func (*EcdhAeadEncParams) ProtoMessage()
- func (m *EcdhAeadEncParams) Reset()
- func (m *EcdhAeadEncParams) String() string
- func (m *EcdhAeadEncParams) XXX_DiscardUnknown()
- func (m *EcdhAeadEncParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EcdhAeadEncParams) XXX_Merge(src proto.Message)
- func (m *EcdhAeadEncParams) XXX_Size() int
- func (m *EcdhAeadEncParams) XXX_Unmarshal(b []byte) error
- type EcdhAeadKeyFormat
- func (*EcdhAeadKeyFormat) Descriptor() ([]byte, []int)
- func (m *EcdhAeadKeyFormat) GetParams() *EcdhAeadParams
- func (*EcdhAeadKeyFormat) ProtoMessage()
- func (m *EcdhAeadKeyFormat) Reset()
- func (m *EcdhAeadKeyFormat) String() string
- func (m *EcdhAeadKeyFormat) XXX_DiscardUnknown()
- func (m *EcdhAeadKeyFormat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EcdhAeadKeyFormat) XXX_Merge(src proto.Message)
- func (m *EcdhAeadKeyFormat) XXX_Size() int
- func (m *EcdhAeadKeyFormat) XXX_Unmarshal(b []byte) error
- type EcdhAeadParams
- func (*EcdhAeadParams) Descriptor() ([]byte, []int)
- func (m *EcdhAeadParams) GetEcPointFormat() common_go_proto.EcPointFormat
- func (m *EcdhAeadParams) GetEncParams() *EcdhAeadEncParams
- func (m *EcdhAeadParams) GetKwParams() *EcdhKwParams
- func (*EcdhAeadParams) ProtoMessage()
- func (m *EcdhAeadParams) Reset()
- func (m *EcdhAeadParams) String() string
- func (m *EcdhAeadParams) XXX_DiscardUnknown()
- func (m *EcdhAeadParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EcdhAeadParams) XXX_Merge(src proto.Message)
- func (m *EcdhAeadParams) XXX_Size() int
- func (m *EcdhAeadParams) XXX_Unmarshal(b []byte) error
- type EcdhAeadPrivateKey
- func (*EcdhAeadPrivateKey) Descriptor() ([]byte, []int)
- func (m *EcdhAeadPrivateKey) GetKeyValue() []byte
- func (m *EcdhAeadPrivateKey) GetPublicKey() *EcdhAeadPublicKey
- func (m *EcdhAeadPrivateKey) GetVersion() uint32
- func (*EcdhAeadPrivateKey) ProtoMessage()
- func (m *EcdhAeadPrivateKey) Reset()
- func (m *EcdhAeadPrivateKey) String() string
- func (m *EcdhAeadPrivateKey) XXX_DiscardUnknown()
- func (m *EcdhAeadPrivateKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EcdhAeadPrivateKey) XXX_Merge(src proto.Message)
- func (m *EcdhAeadPrivateKey) XXX_Size() int
- func (m *EcdhAeadPrivateKey) XXX_Unmarshal(b []byte) error
- type EcdhAeadPublicKey
- func (*EcdhAeadPublicKey) Descriptor() ([]byte, []int)
- func (m *EcdhAeadPublicKey) GetKID() string
- func (m *EcdhAeadPublicKey) GetParams() *EcdhAeadParams
- func (m *EcdhAeadPublicKey) GetVersion() uint32
- func (m *EcdhAeadPublicKey) GetX() []byte
- func (m *EcdhAeadPublicKey) GetY() []byte
- func (*EcdhAeadPublicKey) ProtoMessage()
- func (m *EcdhAeadPublicKey) Reset()
- func (m *EcdhAeadPublicKey) String() string
- func (m *EcdhAeadPublicKey) XXX_DiscardUnknown()
- func (m *EcdhAeadPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EcdhAeadPublicKey) XXX_Merge(src proto.Message)
- func (m *EcdhAeadPublicKey) XXX_Size() int
- func (m *EcdhAeadPublicKey) XXX_Unmarshal(b []byte) error
- type EcdhKwParams
- func (*EcdhKwParams) Descriptor() ([]byte, []int)
- func (m *EcdhKwParams) GetCurveType() common_go_proto.EllipticCurveType
- func (m *EcdhKwParams) GetKeyType() KeyType
- func (*EcdhKwParams) ProtoMessage()
- func (m *EcdhKwParams) Reset()
- func (m *EcdhKwParams) String() string
- func (m *EcdhKwParams) XXX_DiscardUnknown()
- func (m *EcdhKwParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EcdhKwParams) XXX_Merge(src proto.Message)
- func (m *EcdhKwParams) XXX_Size() int
- func (m *EcdhKwParams) 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 EcdhAeadEncParams ¶
type EcdhAeadEncParams struct { AeadEnc *tink_go_proto.KeyTemplate `protobuf:"bytes,1,opt,name=aead_enc,json=aeadEnc,proto3" json:"aead_enc,omitempty"` CEK []byte `protobuf:"bytes,2,opt,name=CEK,proto3" json:"CEK,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EcdhAeadEncParams) Descriptor ¶
func (*EcdhAeadEncParams) Descriptor() ([]byte, []int)
func (*EcdhAeadEncParams) GetAeadEnc ¶
func (m *EcdhAeadEncParams) GetAeadEnc() *tink_go_proto.KeyTemplate
func (*EcdhAeadEncParams) GetCEK ¶
func (m *EcdhAeadEncParams) GetCEK() []byte
func (*EcdhAeadEncParams) ProtoMessage ¶
func (*EcdhAeadEncParams) ProtoMessage()
func (*EcdhAeadEncParams) Reset ¶
func (m *EcdhAeadEncParams) Reset()
func (*EcdhAeadEncParams) String ¶
func (m *EcdhAeadEncParams) String() string
func (*EcdhAeadEncParams) XXX_DiscardUnknown ¶
func (m *EcdhAeadEncParams) XXX_DiscardUnknown()
func (*EcdhAeadEncParams) XXX_Marshal ¶
func (m *EcdhAeadEncParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EcdhAeadEncParams) XXX_Merge ¶
func (m *EcdhAeadEncParams) XXX_Merge(src proto.Message)
func (*EcdhAeadEncParams) XXX_Size ¶
func (m *EcdhAeadEncParams) XXX_Size() int
func (*EcdhAeadEncParams) XXX_Unmarshal ¶
func (m *EcdhAeadEncParams) XXX_Unmarshal(b []byte) error
type EcdhAeadKeyFormat ¶
type EcdhAeadKeyFormat struct { Params *EcdhAeadParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EcdhAeadKeyFormat) Descriptor ¶
func (*EcdhAeadKeyFormat) Descriptor() ([]byte, []int)
func (*EcdhAeadKeyFormat) GetParams ¶
func (m *EcdhAeadKeyFormat) GetParams() *EcdhAeadParams
func (*EcdhAeadKeyFormat) ProtoMessage ¶
func (*EcdhAeadKeyFormat) ProtoMessage()
func (*EcdhAeadKeyFormat) Reset ¶
func (m *EcdhAeadKeyFormat) Reset()
func (*EcdhAeadKeyFormat) String ¶
func (m *EcdhAeadKeyFormat) String() string
func (*EcdhAeadKeyFormat) XXX_DiscardUnknown ¶
func (m *EcdhAeadKeyFormat) XXX_DiscardUnknown()
func (*EcdhAeadKeyFormat) XXX_Marshal ¶
func (m *EcdhAeadKeyFormat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EcdhAeadKeyFormat) XXX_Merge ¶
func (m *EcdhAeadKeyFormat) XXX_Merge(src proto.Message)
func (*EcdhAeadKeyFormat) XXX_Size ¶
func (m *EcdhAeadKeyFormat) XXX_Size() int
func (*EcdhAeadKeyFormat) XXX_Unmarshal ¶
func (m *EcdhAeadKeyFormat) XXX_Unmarshal(b []byte) error
type EcdhAeadParams ¶
type EcdhAeadParams struct { KwParams *EcdhKwParams `protobuf:"bytes,1,opt,name=kw_params,json=kwParams,proto3" json:"kw_params,omitempty"` EncParams *EcdhAeadEncParams `protobuf:"bytes,2,opt,name=enc_params,json=encParams,proto3" json:"enc_params,omitempty"` EcPointFormat common_go_proto.EcPointFormat `` /* 141-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EcdhAeadParams) Descriptor ¶
func (*EcdhAeadParams) Descriptor() ([]byte, []int)
func (*EcdhAeadParams) GetEcPointFormat ¶
func (m *EcdhAeadParams) GetEcPointFormat() common_go_proto.EcPointFormat
func (*EcdhAeadParams) GetEncParams ¶
func (m *EcdhAeadParams) GetEncParams() *EcdhAeadEncParams
func (*EcdhAeadParams) GetKwParams ¶
func (m *EcdhAeadParams) GetKwParams() *EcdhKwParams
func (*EcdhAeadParams) ProtoMessage ¶
func (*EcdhAeadParams) ProtoMessage()
func (*EcdhAeadParams) Reset ¶
func (m *EcdhAeadParams) Reset()
func (*EcdhAeadParams) String ¶
func (m *EcdhAeadParams) String() string
func (*EcdhAeadParams) XXX_DiscardUnknown ¶
func (m *EcdhAeadParams) XXX_DiscardUnknown()
func (*EcdhAeadParams) XXX_Marshal ¶
func (m *EcdhAeadParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EcdhAeadParams) XXX_Merge ¶
func (m *EcdhAeadParams) XXX_Merge(src proto.Message)
func (*EcdhAeadParams) XXX_Size ¶
func (m *EcdhAeadParams) XXX_Size() int
func (*EcdhAeadParams) XXX_Unmarshal ¶
func (m *EcdhAeadParams) XXX_Unmarshal(b []byte) error
type EcdhAeadPrivateKey ¶
type EcdhAeadPrivateKey struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` PublicKey *EcdhAeadPublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` KeyValue []byte `protobuf:"bytes,3,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EcdhAeadPrivateKey) Descriptor ¶
func (*EcdhAeadPrivateKey) Descriptor() ([]byte, []int)
func (*EcdhAeadPrivateKey) GetKeyValue ¶
func (m *EcdhAeadPrivateKey) GetKeyValue() []byte
func (*EcdhAeadPrivateKey) GetPublicKey ¶
func (m *EcdhAeadPrivateKey) GetPublicKey() *EcdhAeadPublicKey
func (*EcdhAeadPrivateKey) GetVersion ¶
func (m *EcdhAeadPrivateKey) GetVersion() uint32
func (*EcdhAeadPrivateKey) ProtoMessage ¶
func (*EcdhAeadPrivateKey) ProtoMessage()
func (*EcdhAeadPrivateKey) Reset ¶
func (m *EcdhAeadPrivateKey) Reset()
func (*EcdhAeadPrivateKey) String ¶
func (m *EcdhAeadPrivateKey) String() string
func (*EcdhAeadPrivateKey) XXX_DiscardUnknown ¶
func (m *EcdhAeadPrivateKey) XXX_DiscardUnknown()
func (*EcdhAeadPrivateKey) XXX_Marshal ¶
func (m *EcdhAeadPrivateKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EcdhAeadPrivateKey) XXX_Merge ¶
func (m *EcdhAeadPrivateKey) XXX_Merge(src proto.Message)
func (*EcdhAeadPrivateKey) XXX_Size ¶
func (m *EcdhAeadPrivateKey) XXX_Size() int
func (*EcdhAeadPrivateKey) XXX_Unmarshal ¶
func (m *EcdhAeadPrivateKey) XXX_Unmarshal(b []byte) error
type EcdhAeadPublicKey ¶
type EcdhAeadPublicKey struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Params *EcdhAeadParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` KID string `protobuf:"bytes,3,opt,name=KID,proto3" json:"KID,omitempty"` X []byte `protobuf:"bytes,4,opt,name=x,proto3" json:"x,omitempty"` Y []byte `protobuf:"bytes,5,opt,name=y,proto3" json:"y,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EcdhAeadPublicKey) Descriptor ¶
func (*EcdhAeadPublicKey) Descriptor() ([]byte, []int)
func (*EcdhAeadPublicKey) GetKID ¶
func (m *EcdhAeadPublicKey) GetKID() string
func (*EcdhAeadPublicKey) GetParams ¶
func (m *EcdhAeadPublicKey) GetParams() *EcdhAeadParams
func (*EcdhAeadPublicKey) GetVersion ¶
func (m *EcdhAeadPublicKey) GetVersion() uint32
func (*EcdhAeadPublicKey) GetX ¶
func (m *EcdhAeadPublicKey) GetX() []byte
func (*EcdhAeadPublicKey) GetY ¶
func (m *EcdhAeadPublicKey) GetY() []byte
func (*EcdhAeadPublicKey) ProtoMessage ¶
func (*EcdhAeadPublicKey) ProtoMessage()
func (*EcdhAeadPublicKey) Reset ¶
func (m *EcdhAeadPublicKey) Reset()
func (*EcdhAeadPublicKey) String ¶
func (m *EcdhAeadPublicKey) String() string
func (*EcdhAeadPublicKey) XXX_DiscardUnknown ¶
func (m *EcdhAeadPublicKey) XXX_DiscardUnknown()
func (*EcdhAeadPublicKey) XXX_Marshal ¶
func (m *EcdhAeadPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EcdhAeadPublicKey) XXX_Merge ¶
func (m *EcdhAeadPublicKey) XXX_Merge(src proto.Message)
func (*EcdhAeadPublicKey) XXX_Size ¶
func (m *EcdhAeadPublicKey) XXX_Size() int
func (*EcdhAeadPublicKey) XXX_Unmarshal ¶
func (m *EcdhAeadPublicKey) XXX_Unmarshal(b []byte) error
type EcdhKwParams ¶
type EcdhKwParams struct { CurveType common_go_proto.EllipticCurveType `` /* 131-byte string literal not displayed */ KeyType KeyType `protobuf:"varint,2,opt,name=key_type,json=keyType,proto3,enum=google.crypto.tink.KeyType" json:"key_type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EcdhKwParams) Descriptor ¶
func (*EcdhKwParams) Descriptor() ([]byte, []int)
func (*EcdhKwParams) GetCurveType ¶
func (m *EcdhKwParams) GetCurveType() common_go_proto.EllipticCurveType
func (*EcdhKwParams) GetKeyType ¶
func (m *EcdhKwParams) GetKeyType() KeyType
func (*EcdhKwParams) ProtoMessage ¶
func (*EcdhKwParams) ProtoMessage()
func (*EcdhKwParams) Reset ¶
func (m *EcdhKwParams) Reset()
func (*EcdhKwParams) String ¶
func (m *EcdhKwParams) String() string
func (*EcdhKwParams) XXX_DiscardUnknown ¶
func (m *EcdhKwParams) XXX_DiscardUnknown()
func (*EcdhKwParams) XXX_Marshal ¶
func (m *EcdhKwParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EcdhKwParams) XXX_Merge ¶
func (m *EcdhKwParams) XXX_Merge(src proto.Message)
func (*EcdhKwParams) XXX_Size ¶
func (m *EcdhKwParams) XXX_Size() int
func (*EcdhKwParams) XXX_Unmarshal ¶
func (m *EcdhKwParams) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.