gogithub.com/google/tink/go/proto/rsa_ssa_pkcs1_go_proto Index | Files

package rsa_ssa_pkcs1_go_proto

import "github.com/google/tink/go/proto/rsa_ssa_pkcs1_go_proto"

Index

Variables

var File_third_party_tink_proto_rsa_ssa_pkcs1_proto protoreflect.FileDescriptor

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"`
	// contains filtered or unexported fields
}

func (*RsaSsaPkcs1KeyFormat) Descriptor

func (*RsaSsaPkcs1KeyFormat) Descriptor() ([]byte, []int)

Deprecated: Use RsaSsaPkcs1KeyFormat.ProtoReflect.Descriptor instead.

func (*RsaSsaPkcs1KeyFormat) GetModulusSizeInBits

func (x *RsaSsaPkcs1KeyFormat) GetModulusSizeInBits() uint32

func (*RsaSsaPkcs1KeyFormat) GetParams

func (x *RsaSsaPkcs1KeyFormat) GetParams() *RsaSsaPkcs1Params

func (*RsaSsaPkcs1KeyFormat) GetPublicExponent

func (x *RsaSsaPkcs1KeyFormat) GetPublicExponent() []byte

func (*RsaSsaPkcs1KeyFormat) ProtoMessage

func (*RsaSsaPkcs1KeyFormat) ProtoMessage()

func (*RsaSsaPkcs1KeyFormat) ProtoReflect

func (x *RsaSsaPkcs1KeyFormat) ProtoReflect() protoreflect.Message

func (*RsaSsaPkcs1KeyFormat) Reset

func (x *RsaSsaPkcs1KeyFormat) Reset()

func (*RsaSsaPkcs1KeyFormat) String

func (x *RsaSsaPkcs1KeyFormat) String() string

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"`
	// contains filtered or unexported fields
}

func (*RsaSsaPkcs1Params) Descriptor

func (*RsaSsaPkcs1Params) Descriptor() ([]byte, []int)

Deprecated: Use RsaSsaPkcs1Params.ProtoReflect.Descriptor instead.

func (*RsaSsaPkcs1Params) GetHashType

func (x *RsaSsaPkcs1Params) GetHashType() common_go_proto.HashType

func (*RsaSsaPkcs1Params) ProtoMessage

func (*RsaSsaPkcs1Params) ProtoMessage()

func (*RsaSsaPkcs1Params) ProtoReflect

func (x *RsaSsaPkcs1Params) ProtoReflect() protoreflect.Message

func (*RsaSsaPkcs1Params) Reset

func (x *RsaSsaPkcs1Params) Reset()

func (*RsaSsaPkcs1Params) String

func (x *RsaSsaPkcs1Params) String() string

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"`
	// contains filtered or unexported fields
}

key_type: type.googleapis.com/google.crypto.tink.RsaSsaPkcs1PrivateKey

func (*RsaSsaPkcs1PrivateKey) Descriptor

func (*RsaSsaPkcs1PrivateKey) Descriptor() ([]byte, []int)

Deprecated: Use RsaSsaPkcs1PrivateKey.ProtoReflect.Descriptor instead.

func (*RsaSsaPkcs1PrivateKey) GetCrt

func (x *RsaSsaPkcs1PrivateKey) GetCrt() []byte

func (*RsaSsaPkcs1PrivateKey) GetD

func (x *RsaSsaPkcs1PrivateKey) GetD() []byte

func (*RsaSsaPkcs1PrivateKey) GetDp

func (x *RsaSsaPkcs1PrivateKey) GetDp() []byte

func (*RsaSsaPkcs1PrivateKey) GetDq

func (x *RsaSsaPkcs1PrivateKey) GetDq() []byte

func (*RsaSsaPkcs1PrivateKey) GetP

func (x *RsaSsaPkcs1PrivateKey) GetP() []byte

func (*RsaSsaPkcs1PrivateKey) GetPublicKey

func (x *RsaSsaPkcs1PrivateKey) GetPublicKey() *RsaSsaPkcs1PublicKey

func (*RsaSsaPkcs1PrivateKey) GetQ

func (x *RsaSsaPkcs1PrivateKey) GetQ() []byte

func (*RsaSsaPkcs1PrivateKey) GetVersion

func (x *RsaSsaPkcs1PrivateKey) GetVersion() uint32

func (*RsaSsaPkcs1PrivateKey) ProtoMessage

func (*RsaSsaPkcs1PrivateKey) ProtoMessage()

func (*RsaSsaPkcs1PrivateKey) ProtoReflect

func (x *RsaSsaPkcs1PrivateKey) ProtoReflect() protoreflect.Message

func (*RsaSsaPkcs1PrivateKey) Reset

func (x *RsaSsaPkcs1PrivateKey) Reset()

func (*RsaSsaPkcs1PrivateKey) String

func (x *RsaSsaPkcs1PrivateKey) String() string

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"`
	// contains filtered or unexported fields
}

key_type: type.googleapis.com/google.crypto.tink.RsaSsaPkcs1PublicKey

func (*RsaSsaPkcs1PublicKey) Descriptor

func (*RsaSsaPkcs1PublicKey) Descriptor() ([]byte, []int)

Deprecated: Use RsaSsaPkcs1PublicKey.ProtoReflect.Descriptor instead.

func (*RsaSsaPkcs1PublicKey) GetE

func (x *RsaSsaPkcs1PublicKey) GetE() []byte

func (*RsaSsaPkcs1PublicKey) GetN

func (x *RsaSsaPkcs1PublicKey) GetN() []byte

func (*RsaSsaPkcs1PublicKey) GetParams

func (x *RsaSsaPkcs1PublicKey) GetParams() *RsaSsaPkcs1Params

func (*RsaSsaPkcs1PublicKey) GetVersion

func (x *RsaSsaPkcs1PublicKey) GetVersion() uint32

func (*RsaSsaPkcs1PublicKey) ProtoMessage

func (*RsaSsaPkcs1PublicKey) ProtoMessage()

func (*RsaSsaPkcs1PublicKey) ProtoReflect

func (x *RsaSsaPkcs1PublicKey) ProtoReflect() protoreflect.Message

func (*RsaSsaPkcs1PublicKey) Reset

func (x *RsaSsaPkcs1PublicKey) Reset()

func (*RsaSsaPkcs1PublicKey) String

func (x *RsaSsaPkcs1PublicKey) String() string

Source Files

rsa_ssa_pkcs1.pb.go

Version
v1.7.0 (latest)
Published
Aug 10, 2022
Platform
linux/amd64
Imports
5 packages
Last checked
3 months ago

Tools for package owners.