Documentation ¶
Index ¶
- type RsaSsaPkcs1KeyFormat
- func (*RsaSsaPkcs1KeyFormat) Descriptor() ([]byte, []int)
- func (m *RsaSsaPkcs1KeyFormat) GetModulusSizeInBits() uint32
- func (m *RsaSsaPkcs1KeyFormat) GetParams() *RsaSsaPkcs1Params
- func (m *RsaSsaPkcs1KeyFormat) GetPublicExponent() []byte
- func (*RsaSsaPkcs1KeyFormat) ProtoMessage()
- func (m *RsaSsaPkcs1KeyFormat) Reset()
- func (m *RsaSsaPkcs1KeyFormat) String() string
- func (m *RsaSsaPkcs1KeyFormat) XXX_DiscardUnknown()
- func (m *RsaSsaPkcs1KeyFormat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RsaSsaPkcs1KeyFormat) XXX_Merge(src proto.Message)
- func (m *RsaSsaPkcs1KeyFormat) XXX_Size() int
- func (m *RsaSsaPkcs1KeyFormat) XXX_Unmarshal(b []byte) error
- type RsaSsaPkcs1Params
- func (*RsaSsaPkcs1Params) Descriptor() ([]byte, []int)
- func (m *RsaSsaPkcs1Params) GetHashType() common_go_proto.HashType
- func (*RsaSsaPkcs1Params) ProtoMessage()
- func (m *RsaSsaPkcs1Params) Reset()
- func (m *RsaSsaPkcs1Params) String() string
- func (m *RsaSsaPkcs1Params) XXX_DiscardUnknown()
- func (m *RsaSsaPkcs1Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RsaSsaPkcs1Params) XXX_Merge(src proto.Message)
- func (m *RsaSsaPkcs1Params) XXX_Size() int
- func (m *RsaSsaPkcs1Params) XXX_Unmarshal(b []byte) error
- type RsaSsaPkcs1PrivateKey
- func (*RsaSsaPkcs1PrivateKey) Descriptor() ([]byte, []int)
- func (m *RsaSsaPkcs1PrivateKey) GetCrt() []byte
- func (m *RsaSsaPkcs1PrivateKey) GetD() []byte
- func (m *RsaSsaPkcs1PrivateKey) GetDp() []byte
- func (m *RsaSsaPkcs1PrivateKey) GetDq() []byte
- func (m *RsaSsaPkcs1PrivateKey) GetP() []byte
- func (m *RsaSsaPkcs1PrivateKey) GetPublicKey() *RsaSsaPkcs1PublicKey
- func (m *RsaSsaPkcs1PrivateKey) GetQ() []byte
- func (m *RsaSsaPkcs1PrivateKey) GetVersion() uint32
- func (*RsaSsaPkcs1PrivateKey) ProtoMessage()
- func (m *RsaSsaPkcs1PrivateKey) Reset()
- func (m *RsaSsaPkcs1PrivateKey) String() string
- func (m *RsaSsaPkcs1PrivateKey) XXX_DiscardUnknown()
- func (m *RsaSsaPkcs1PrivateKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RsaSsaPkcs1PrivateKey) XXX_Merge(src proto.Message)
- func (m *RsaSsaPkcs1PrivateKey) XXX_Size() int
- func (m *RsaSsaPkcs1PrivateKey) XXX_Unmarshal(b []byte) error
- type RsaSsaPkcs1PublicKey
- func (*RsaSsaPkcs1PublicKey) Descriptor() ([]byte, []int)
- func (m *RsaSsaPkcs1PublicKey) GetE() []byte
- func (m *RsaSsaPkcs1PublicKey) GetN() []byte
- func (m *RsaSsaPkcs1PublicKey) GetParams() *RsaSsaPkcs1Params
- func (m *RsaSsaPkcs1PublicKey) GetVersion() uint32
- func (*RsaSsaPkcs1PublicKey) ProtoMessage()
- func (m *RsaSsaPkcs1PublicKey) Reset()
- func (m *RsaSsaPkcs1PublicKey) String() string
- func (m *RsaSsaPkcs1PublicKey) XXX_DiscardUnknown()
- func (m *RsaSsaPkcs1PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RsaSsaPkcs1PublicKey) XXX_Merge(src proto.Message)
- func (m *RsaSsaPkcs1PublicKey) XXX_Size() int
- func (m *RsaSsaPkcs1PublicKey) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RsaSsaPkcs1KeyFormat ¶
type RsaSsaPkcs1KeyFormat struct { // Required. Params *RsaSsaPkcs1Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // Required. ModulusSizeInBits uint32 `protobuf:"varint,2,opt,name=modulus_size_in_bits,json=modulusSizeInBits,proto3" json:"modulus_size_in_bits,omitempty"` // Required. PublicExponent []byte `protobuf:"bytes,3,opt,name=public_exponent,json=publicExponent,proto3" json:"public_exponent,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RsaSsaPkcs1KeyFormat) Descriptor ¶
func (*RsaSsaPkcs1KeyFormat) Descriptor() ([]byte, []int)
func (*RsaSsaPkcs1KeyFormat) GetModulusSizeInBits ¶
func (m *RsaSsaPkcs1KeyFormat) GetModulusSizeInBits() uint32
func (*RsaSsaPkcs1KeyFormat) GetParams ¶
func (m *RsaSsaPkcs1KeyFormat) GetParams() *RsaSsaPkcs1Params
func (*RsaSsaPkcs1KeyFormat) GetPublicExponent ¶
func (m *RsaSsaPkcs1KeyFormat) GetPublicExponent() []byte
func (*RsaSsaPkcs1KeyFormat) ProtoMessage ¶
func (*RsaSsaPkcs1KeyFormat) ProtoMessage()
func (*RsaSsaPkcs1KeyFormat) Reset ¶
func (m *RsaSsaPkcs1KeyFormat) Reset()
func (*RsaSsaPkcs1KeyFormat) String ¶
func (m *RsaSsaPkcs1KeyFormat) String() string
func (*RsaSsaPkcs1KeyFormat) XXX_DiscardUnknown ¶
func (m *RsaSsaPkcs1KeyFormat) XXX_DiscardUnknown()
func (*RsaSsaPkcs1KeyFormat) XXX_Marshal ¶
func (m *RsaSsaPkcs1KeyFormat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RsaSsaPkcs1KeyFormat) XXX_Merge ¶
func (m *RsaSsaPkcs1KeyFormat) XXX_Merge(src proto.Message)
func (*RsaSsaPkcs1KeyFormat) XXX_Size ¶
func (m *RsaSsaPkcs1KeyFormat) XXX_Size() int
func (*RsaSsaPkcs1KeyFormat) XXX_Unmarshal ¶
func (m *RsaSsaPkcs1KeyFormat) XXX_Unmarshal(b []byte) error
type RsaSsaPkcs1Params ¶
type RsaSsaPkcs1Params struct { // Hash function used in computing hash of the signing message // (see https://tools.ietf.org/html/rfc8017#section-9.2). // Required. HashType common_go_proto.HashType `protobuf:"varint,1,opt,name=hash_type,json=hashType,proto3,enum=google.crypto.tink.HashType" json:"hash_type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RsaSsaPkcs1Params) Descriptor ¶
func (*RsaSsaPkcs1Params) Descriptor() ([]byte, []int)
func (*RsaSsaPkcs1Params) GetHashType ¶
func (m *RsaSsaPkcs1Params) GetHashType() common_go_proto.HashType
func (*RsaSsaPkcs1Params) ProtoMessage ¶
func (*RsaSsaPkcs1Params) ProtoMessage()
func (*RsaSsaPkcs1Params) Reset ¶
func (m *RsaSsaPkcs1Params) Reset()
func (*RsaSsaPkcs1Params) String ¶
func (m *RsaSsaPkcs1Params) String() string
func (*RsaSsaPkcs1Params) XXX_DiscardUnknown ¶
func (m *RsaSsaPkcs1Params) XXX_DiscardUnknown()
func (*RsaSsaPkcs1Params) XXX_Marshal ¶
func (m *RsaSsaPkcs1Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RsaSsaPkcs1Params) XXX_Merge ¶
func (m *RsaSsaPkcs1Params) XXX_Merge(src proto.Message)
func (*RsaSsaPkcs1Params) XXX_Size ¶
func (m *RsaSsaPkcs1Params) XXX_Size() int
func (*RsaSsaPkcs1Params) XXX_Unmarshal ¶
func (m *RsaSsaPkcs1Params) XXX_Unmarshal(b []byte) error
type RsaSsaPkcs1PrivateKey ¶
type RsaSsaPkcs1PrivateKey struct { // Required. Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // Required. PublicKey *RsaSsaPkcs1PublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // Private exponent. // Unsigned big integer in bigendian representation. // Required. D []byte `protobuf:"bytes,3,opt,name=d,proto3" json:"d,omitempty"` // The following parameters are used to optimize RSA signature computation. // The prime factor p of n. // Unsigned big integer in bigendian representation. // Required. P []byte `protobuf:"bytes,4,opt,name=p,proto3" json:"p,omitempty"` // The prime factor q of n. // Unsigned big integer in bigendian representation. // Required. Q []byte `protobuf:"bytes,5,opt,name=q,proto3" json:"q,omitempty"` // d mod (p - 1). // Unsigned big integer in bigendian representation. // Required. Dp []byte `protobuf:"bytes,6,opt,name=dp,proto3" json:"dp,omitempty"` // d mod (q - 1). // Unsigned big integer in bigendian representation. // Required. Dq []byte `protobuf:"bytes,7,opt,name=dq,proto3" json:"dq,omitempty"` // Chinese Remainder Theorem coefficient q^(-1) mod p. // Unsigned big integer in bigendian representation. // Required. Crt []byte `protobuf:"bytes,8,opt,name=crt,proto3" json:"crt,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
key_type: type.googleapis.com/google.crypto.tink.RsaSsaPkcs1PrivateKey
func (*RsaSsaPkcs1PrivateKey) Descriptor ¶
func (*RsaSsaPkcs1PrivateKey) Descriptor() ([]byte, []int)
func (*RsaSsaPkcs1PrivateKey) GetCrt ¶
func (m *RsaSsaPkcs1PrivateKey) GetCrt() []byte
func (*RsaSsaPkcs1PrivateKey) GetD ¶
func (m *RsaSsaPkcs1PrivateKey) GetD() []byte
func (*RsaSsaPkcs1PrivateKey) GetDp ¶
func (m *RsaSsaPkcs1PrivateKey) GetDp() []byte
func (*RsaSsaPkcs1PrivateKey) GetDq ¶
func (m *RsaSsaPkcs1PrivateKey) GetDq() []byte
func (*RsaSsaPkcs1PrivateKey) GetP ¶
func (m *RsaSsaPkcs1PrivateKey) GetP() []byte
func (*RsaSsaPkcs1PrivateKey) GetPublicKey ¶
func (m *RsaSsaPkcs1PrivateKey) GetPublicKey() *RsaSsaPkcs1PublicKey
func (*RsaSsaPkcs1PrivateKey) GetQ ¶
func (m *RsaSsaPkcs1PrivateKey) GetQ() []byte
func (*RsaSsaPkcs1PrivateKey) GetVersion ¶
func (m *RsaSsaPkcs1PrivateKey) GetVersion() uint32
func (*RsaSsaPkcs1PrivateKey) ProtoMessage ¶
func (*RsaSsaPkcs1PrivateKey) ProtoMessage()
func (*RsaSsaPkcs1PrivateKey) Reset ¶
func (m *RsaSsaPkcs1PrivateKey) Reset()
func (*RsaSsaPkcs1PrivateKey) String ¶
func (m *RsaSsaPkcs1PrivateKey) String() string
func (*RsaSsaPkcs1PrivateKey) XXX_DiscardUnknown ¶
func (m *RsaSsaPkcs1PrivateKey) XXX_DiscardUnknown()
func (*RsaSsaPkcs1PrivateKey) XXX_Marshal ¶
func (m *RsaSsaPkcs1PrivateKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RsaSsaPkcs1PrivateKey) XXX_Merge ¶
func (m *RsaSsaPkcs1PrivateKey) XXX_Merge(src proto.Message)
func (*RsaSsaPkcs1PrivateKey) XXX_Size ¶
func (m *RsaSsaPkcs1PrivateKey) XXX_Size() int
func (*RsaSsaPkcs1PrivateKey) XXX_Unmarshal ¶
func (m *RsaSsaPkcs1PrivateKey) XXX_Unmarshal(b []byte) error
type RsaSsaPkcs1PublicKey ¶
type RsaSsaPkcs1PublicKey struct { // Required. Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // Required. Params *RsaSsaPkcs1Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // Modulus. // Unsigned big integer in bigendian representation. N []byte `protobuf:"bytes,3,opt,name=n,proto3" json:"n,omitempty"` // Public exponent. // Unsigned big integer in bigendian representation. E []byte `protobuf:"bytes,4,opt,name=e,proto3" json:"e,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
key_type: type.googleapis.com/google.crypto.tink.RsaSsaPkcs1PublicKey
func (*RsaSsaPkcs1PublicKey) Descriptor ¶
func (*RsaSsaPkcs1PublicKey) Descriptor() ([]byte, []int)
func (*RsaSsaPkcs1PublicKey) GetE ¶
func (m *RsaSsaPkcs1PublicKey) GetE() []byte
func (*RsaSsaPkcs1PublicKey) GetN ¶
func (m *RsaSsaPkcs1PublicKey) GetN() []byte
func (*RsaSsaPkcs1PublicKey) GetParams ¶
func (m *RsaSsaPkcs1PublicKey) GetParams() *RsaSsaPkcs1Params
func (*RsaSsaPkcs1PublicKey) GetVersion ¶
func (m *RsaSsaPkcs1PublicKey) GetVersion() uint32
func (*RsaSsaPkcs1PublicKey) ProtoMessage ¶
func (*RsaSsaPkcs1PublicKey) ProtoMessage()
func (*RsaSsaPkcs1PublicKey) Reset ¶
func (m *RsaSsaPkcs1PublicKey) Reset()
func (*RsaSsaPkcs1PublicKey) String ¶
func (m *RsaSsaPkcs1PublicKey) String() string
func (*RsaSsaPkcs1PublicKey) XXX_DiscardUnknown ¶
func (m *RsaSsaPkcs1PublicKey) XXX_DiscardUnknown()
func (*RsaSsaPkcs1PublicKey) XXX_Marshal ¶
func (m *RsaSsaPkcs1PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RsaSsaPkcs1PublicKey) XXX_Merge ¶
func (m *RsaSsaPkcs1PublicKey) XXX_Merge(src proto.Message)
func (*RsaSsaPkcs1PublicKey) XXX_Size ¶
func (m *RsaSsaPkcs1PublicKey) XXX_Size() int
func (*RsaSsaPkcs1PublicKey) XXX_Unmarshal ¶
func (m *RsaSsaPkcs1PublicKey) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.