Documentation ¶
Index ¶
- Variables
- type JwtEcdsaAlgorithm
- func (JwtEcdsaAlgorithm) Descriptor() protoreflect.EnumDescriptor
- func (x JwtEcdsaAlgorithm) Enum() *JwtEcdsaAlgorithm
- func (JwtEcdsaAlgorithm) EnumDescriptor() ([]byte, []int)deprecated
- func (x JwtEcdsaAlgorithm) Number() protoreflect.EnumNumber
- func (x JwtEcdsaAlgorithm) String() string
- func (JwtEcdsaAlgorithm) Type() protoreflect.EnumType
- type JwtEcdsaKeyFormat
- func (*JwtEcdsaKeyFormat) Descriptor() ([]byte, []int)deprecated
- func (x *JwtEcdsaKeyFormat) GetAlgorithm() JwtEcdsaAlgorithm
- func (x *JwtEcdsaKeyFormat) GetVersion() uint32
- func (*JwtEcdsaKeyFormat) ProtoMessage()
- func (x *JwtEcdsaKeyFormat) ProtoReflect() protoreflect.Message
- func (x *JwtEcdsaKeyFormat) Reset()
- func (x *JwtEcdsaKeyFormat) String() string
- type JwtEcdsaPrivateKey
- func (*JwtEcdsaPrivateKey) Descriptor() ([]byte, []int)deprecated
- func (x *JwtEcdsaPrivateKey) GetKeyValue() []byte
- func (x *JwtEcdsaPrivateKey) GetPublicKey() *JwtEcdsaPublicKey
- func (x *JwtEcdsaPrivateKey) GetVersion() uint32
- func (*JwtEcdsaPrivateKey) ProtoMessage()
- func (x *JwtEcdsaPrivateKey) ProtoReflect() protoreflect.Message
- func (x *JwtEcdsaPrivateKey) Reset()
- func (x *JwtEcdsaPrivateKey) String() string
- type JwtEcdsaPublicKey
- func (*JwtEcdsaPublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *JwtEcdsaPublicKey) GetAlgorithm() JwtEcdsaAlgorithm
- func (x *JwtEcdsaPublicKey) GetCustomKid() *JwtEcdsaPublicKey_CustomKid
- func (x *JwtEcdsaPublicKey) GetVersion() uint32
- func (x *JwtEcdsaPublicKey) GetX() []byte
- func (x *JwtEcdsaPublicKey) GetY() []byte
- func (*JwtEcdsaPublicKey) ProtoMessage()
- func (x *JwtEcdsaPublicKey) ProtoReflect() protoreflect.Message
- func (x *JwtEcdsaPublicKey) Reset()
- func (x *JwtEcdsaPublicKey) String() string
- type JwtEcdsaPublicKey_CustomKid
- func (*JwtEcdsaPublicKey_CustomKid) Descriptor() ([]byte, []int)deprecated
- func (x *JwtEcdsaPublicKey_CustomKid) GetValue() string
- func (*JwtEcdsaPublicKey_CustomKid) ProtoMessage()
- func (x *JwtEcdsaPublicKey_CustomKid) ProtoReflect() protoreflect.Message
- func (x *JwtEcdsaPublicKey_CustomKid) Reset()
- func (x *JwtEcdsaPublicKey_CustomKid) String() string
Constants ¶
This section is empty.
Variables ¶
var ( JwtEcdsaAlgorithm_name = map[int32]string{ 0: "ES_UNKNOWN", 1: "ES256", 2: "ES384", 3: "ES512", } JwtEcdsaAlgorithm_value = map[string]int32{ "ES_UNKNOWN": 0, "ES256": 1, "ES384": 2, "ES512": 3, } )
Enum value maps for JwtEcdsaAlgorithm.
var File_third_party_tink_proto_jwt_ecdsa_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type JwtEcdsaAlgorithm ¶
type JwtEcdsaAlgorithm int32
See https://datatracker.ietf.org/doc/html/rfc7518#section-3.4
const ( JwtEcdsaAlgorithm_ES_UNKNOWN JwtEcdsaAlgorithm = 0 JwtEcdsaAlgorithm_ES256 JwtEcdsaAlgorithm = 1 // ECDSA using P-256 and SHA-256 JwtEcdsaAlgorithm_ES384 JwtEcdsaAlgorithm = 2 // ECDSA using P-384 and SHA-384 JwtEcdsaAlgorithm_ES512 JwtEcdsaAlgorithm = 3 // ECDSA using P-521 and SHA-512 )
func (JwtEcdsaAlgorithm) Descriptor ¶
func (JwtEcdsaAlgorithm) Descriptor() protoreflect.EnumDescriptor
func (JwtEcdsaAlgorithm) Enum ¶
func (x JwtEcdsaAlgorithm) Enum() *JwtEcdsaAlgorithm
func (JwtEcdsaAlgorithm) EnumDescriptor
deprecated
func (JwtEcdsaAlgorithm) EnumDescriptor() ([]byte, []int)
Deprecated: Use JwtEcdsaAlgorithm.Descriptor instead.
func (JwtEcdsaAlgorithm) Number ¶
func (x JwtEcdsaAlgorithm) Number() protoreflect.EnumNumber
func (JwtEcdsaAlgorithm) String ¶
func (x JwtEcdsaAlgorithm) String() string
func (JwtEcdsaAlgorithm) Type ¶
func (JwtEcdsaAlgorithm) Type() protoreflect.EnumType
type JwtEcdsaKeyFormat ¶
type JwtEcdsaKeyFormat struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Algorithm JwtEcdsaAlgorithm `protobuf:"varint,2,opt,name=algorithm,proto3,enum=google.crypto.tink.JwtEcdsaAlgorithm" json:"algorithm,omitempty"` // contains filtered or unexported fields }
func (*JwtEcdsaKeyFormat) Descriptor
deprecated
func (*JwtEcdsaKeyFormat) Descriptor() ([]byte, []int)
Deprecated: Use JwtEcdsaKeyFormat.ProtoReflect.Descriptor instead.
func (*JwtEcdsaKeyFormat) GetAlgorithm ¶
func (x *JwtEcdsaKeyFormat) GetAlgorithm() JwtEcdsaAlgorithm
func (*JwtEcdsaKeyFormat) GetVersion ¶
func (x *JwtEcdsaKeyFormat) GetVersion() uint32
func (*JwtEcdsaKeyFormat) ProtoMessage ¶
func (*JwtEcdsaKeyFormat) ProtoMessage()
func (*JwtEcdsaKeyFormat) ProtoReflect ¶
func (x *JwtEcdsaKeyFormat) ProtoReflect() protoreflect.Message
func (*JwtEcdsaKeyFormat) Reset ¶
func (x *JwtEcdsaKeyFormat) Reset()
func (*JwtEcdsaKeyFormat) String ¶
func (x *JwtEcdsaKeyFormat) String() string
type JwtEcdsaPrivateKey ¶
type JwtEcdsaPrivateKey struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` PublicKey *JwtEcdsaPublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // Unsigned big integer in bigendian representation. KeyValue []byte `protobuf:"bytes,3,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"` // contains filtered or unexported fields }
key_type: type.googleapis.com/google.crypto.tink.JwtEcdsaPrivateKey
func (*JwtEcdsaPrivateKey) Descriptor
deprecated
func (*JwtEcdsaPrivateKey) Descriptor() ([]byte, []int)
Deprecated: Use JwtEcdsaPrivateKey.ProtoReflect.Descriptor instead.
func (*JwtEcdsaPrivateKey) GetKeyValue ¶
func (x *JwtEcdsaPrivateKey) GetKeyValue() []byte
func (*JwtEcdsaPrivateKey) GetPublicKey ¶
func (x *JwtEcdsaPrivateKey) GetPublicKey() *JwtEcdsaPublicKey
func (*JwtEcdsaPrivateKey) GetVersion ¶
func (x *JwtEcdsaPrivateKey) GetVersion() uint32
func (*JwtEcdsaPrivateKey) ProtoMessage ¶
func (*JwtEcdsaPrivateKey) ProtoMessage()
func (*JwtEcdsaPrivateKey) ProtoReflect ¶
func (x *JwtEcdsaPrivateKey) ProtoReflect() protoreflect.Message
func (*JwtEcdsaPrivateKey) Reset ¶
func (x *JwtEcdsaPrivateKey) Reset()
func (*JwtEcdsaPrivateKey) String ¶
func (x *JwtEcdsaPrivateKey) String() string
type JwtEcdsaPublicKey ¶
type JwtEcdsaPublicKey struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Algorithm JwtEcdsaAlgorithm `protobuf:"varint,2,opt,name=algorithm,proto3,enum=google.crypto.tink.JwtEcdsaAlgorithm" json:"algorithm,omitempty"` // Affine coordinates of the public key in big-endian representation. The // public key is a point (x, y) on the curve defined by algorithm. X []byte `protobuf:"bytes,3,opt,name=x,proto3" json:"x,omitempty"` Y []byte `protobuf:"bytes,4,opt,name=y,proto3" json:"y,omitempty"` CustomKid *JwtEcdsaPublicKey_CustomKid `protobuf:"bytes,5,opt,name=custom_kid,json=customKid,proto3" json:"custom_kid,omitempty"` // contains filtered or unexported fields }
key_type: type.googleapis.com/google.crypto.tink.JwtEcdsaPublicKey
func (*JwtEcdsaPublicKey) Descriptor
deprecated
func (*JwtEcdsaPublicKey) Descriptor() ([]byte, []int)
Deprecated: Use JwtEcdsaPublicKey.ProtoReflect.Descriptor instead.
func (*JwtEcdsaPublicKey) GetAlgorithm ¶
func (x *JwtEcdsaPublicKey) GetAlgorithm() JwtEcdsaAlgorithm
func (*JwtEcdsaPublicKey) GetCustomKid ¶
func (x *JwtEcdsaPublicKey) GetCustomKid() *JwtEcdsaPublicKey_CustomKid
func (*JwtEcdsaPublicKey) GetVersion ¶
func (x *JwtEcdsaPublicKey) GetVersion() uint32
func (*JwtEcdsaPublicKey) GetX ¶
func (x *JwtEcdsaPublicKey) GetX() []byte
func (*JwtEcdsaPublicKey) GetY ¶
func (x *JwtEcdsaPublicKey) GetY() []byte
func (*JwtEcdsaPublicKey) ProtoMessage ¶
func (*JwtEcdsaPublicKey) ProtoMessage()
func (*JwtEcdsaPublicKey) ProtoReflect ¶
func (x *JwtEcdsaPublicKey) ProtoReflect() protoreflect.Message
func (*JwtEcdsaPublicKey) Reset ¶
func (x *JwtEcdsaPublicKey) Reset()
func (*JwtEcdsaPublicKey) String ¶
func (x *JwtEcdsaPublicKey) String() string
type JwtEcdsaPublicKey_CustomKid ¶
type JwtEcdsaPublicKey_CustomKid struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Optional, custom kid header value to be used with "RAW" keys. "TINK" keys with this value set will be rejected.
func (*JwtEcdsaPublicKey_CustomKid) Descriptor
deprecated
func (*JwtEcdsaPublicKey_CustomKid) Descriptor() ([]byte, []int)
Deprecated: Use JwtEcdsaPublicKey_CustomKid.ProtoReflect.Descriptor instead.
func (*JwtEcdsaPublicKey_CustomKid) GetValue ¶
func (x *JwtEcdsaPublicKey_CustomKid) GetValue() string
func (*JwtEcdsaPublicKey_CustomKid) ProtoMessage ¶
func (*JwtEcdsaPublicKey_CustomKid) ProtoMessage()
func (*JwtEcdsaPublicKey_CustomKid) ProtoReflect ¶
func (x *JwtEcdsaPublicKey_CustomKid) ProtoReflect() protoreflect.Message
func (*JwtEcdsaPublicKey_CustomKid) Reset ¶
func (x *JwtEcdsaPublicKey_CustomKid) Reset()
func (*JwtEcdsaPublicKey_CustomKid) String ¶
func (x *JwtEcdsaPublicKey_CustomKid) String() string