common_composite_proto

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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

type KeyType

type KeyType int32
const (
	KeyType_UNKNOWN_KEY_TYPE KeyType = 0
	KeyType_EC               KeyType = 1
	KeyType_OKP              KeyType = 2
)

func (KeyType) EnumDescriptor

func (KeyType) EnumDescriptor() ([]byte, []int)

func (KeyType) String

func (x KeyType) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL