Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ECType_name = map[int32]string{ 0: "UNDEFINED", 1: "P256", 2: "P384", 3: "P521", } ECType_value = map[string]int32{ "UNDEFINED": 0, "P256": 1, "P384": 2, "P521": 3, } )
Enum value maps for ECType.
View Source
var File_ec_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type EC ¶
type EC struct { // Curve. Crv ECType `protobuf:"varint,1,opt,name=crv,proto3,enum=auth.ECType" json:"crv,omitempty"` X string `protobuf:"bytes,2,opt,name=x,proto3" json:"x,omitempty"` Y string `protobuf:"bytes,3,opt,name=y,proto3" json:"y,omitempty"` // contains filtered or unexported fields }
EC Public Key message type. X and Y are big endian integers Base64Url-encoded with no padding.
func (*EC) Descriptor
deprecated
func (*EC) ProtoMessage ¶
func (*EC) ProtoMessage()
func (*EC) ProtoReflect ¶
func (x *EC) ProtoReflect() protoreflect.Message
type ECType ¶
type ECType int32
func (ECType) Descriptor ¶
func (ECType) Descriptor() protoreflect.EnumDescriptor
func (ECType) EnumDescriptor
deprecated
func (ECType) Number ¶
func (x ECType) Number() protoreflect.EnumNumber
func (ECType) Type ¶
func (ECType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.