keymanager

package
v0.0.0-...-8f69376 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Handshake = go_plugin.HandshakeConfig{
	ProtocolVersion:  1,
	MagicCookieKey:   "KeyManager",
	MagicCookieValue: "KeyManager",
}
View Source
var HashAlgorithm_name = map[int32]string{
	0:  "UNSPECIFIED_HASH_ALGORITHM",
	4:  "SHA224",
	5:  "SHA256",
	6:  "SHA384",
	7:  "SHA512",
	10: "SHA3_224",
	11: "SHA3_256",
	12: "SHA3_384",
	13: "SHA3_512",
	14: "SHA512_224",
	15: "SHA512_256",
}
View Source
var HashAlgorithm_value = map[string]int32{
	"UNSPECIFIED_HASH_ALGORITHM": 0,
	"SHA224":                     4,
	"SHA256":                     5,
	"SHA384":                     6,
	"SHA512":                     7,
	"SHA3_224":                   10,
	"SHA3_256":                   11,
	"SHA3_384":                   12,
	"SHA3_512":                   13,
	"SHA512_224":                 14,
	"SHA512_256":                 15,
}
View Source
var KeyType_name = map[int32]string{
	0: "UNSPECIFIED_KEY_TYPE",
	1: "EC_P256",
	2: "EC_P384",
	3: "RSA_1024",
	4: "RSA_2048",
	5: "RSA_4096",
}
View Source
var KeyType_value = map[string]int32{
	"UNSPECIFIED_KEY_TYPE": 0,
	"EC_P256":              1,
	"EC_P384":              2,
	"RSA_1024":             3,
	"RSA_2048":             4,
	"RSA_4096":             5,
}

Functions

func RegisterKeyManagerServer

func RegisterKeyManagerServer(s *grpc.Server, srv KeyManagerServer)

Types

type BuiltIn

type BuiltIn struct {
	// contains filtered or unexported fields
}

func NewBuiltIn

func NewBuiltIn(plugin Plugin) *BuiltIn

func (BuiltIn) Configure

func (BuiltIn) GenerateKey

func (b BuiltIn) GenerateKey(ctx context.Context, req *GenerateKeyRequest) (*GenerateKeyResponse, error)

func (BuiltIn) GetPluginInfo

func (BuiltIn) GetPublicKey

func (b BuiltIn) GetPublicKey(ctx context.Context, req *GetPublicKeyRequest) (*GetPublicKeyResponse, error)

func (BuiltIn) GetPublicKeys

func (b BuiltIn) GetPublicKeys(ctx context.Context, req *GetPublicKeysRequest) (*GetPublicKeysResponse, error)

func (BuiltIn) SignData

func (b BuiltIn) SignData(ctx context.Context, req *SignDataRequest) (*SignDataResponse, error)

type ConfigureRequest

type ConfigureRequest = plugin.ConfigureRequest

ConfigureRequest from public import github.com/spiffe/spire/proto/common/plugin/plugin.proto

type ConfigureRequest_GlobalConfig

type ConfigureRequest_GlobalConfig = plugin.ConfigureRequest_GlobalConfig

GlobalConfig from public import github.com/spiffe/spire/proto/common/plugin/plugin.proto

type ConfigureResponse

type ConfigureResponse = plugin.ConfigureResponse

ConfigureResponse from public import github.com/spiffe/spire/proto/common/plugin/plugin.proto

type GRPCClient

type GRPCClient struct {
	// contains filtered or unexported fields
}

func (*GRPCClient) Configure

func (*GRPCClient) GenerateKey

func (c *GRPCClient) GenerateKey(ctx context.Context, req *GenerateKeyRequest) (*GenerateKeyResponse, error)

func (*GRPCClient) GetPluginInfo

func (*GRPCClient) GetPublicKey

func (*GRPCClient) GetPublicKeys

func (*GRPCClient) SignData

func (c *GRPCClient) SignData(ctx context.Context, req *SignDataRequest) (*SignDataResponse, error)

type GRPCPlugin

type GRPCPlugin struct {
	ServerImpl KeyManagerServer
}

func (GRPCPlugin) Client

func (p GRPCPlugin) Client(b *go_plugin.MuxBroker, c *rpc.Client) (interface{}, error)

func (GRPCPlugin) GRPCClient

func (p GRPCPlugin) GRPCClient(c *grpc.ClientConn) (interface{}, error)

func (GRPCPlugin) GRPCServer

func (p GRPCPlugin) GRPCServer(s *grpc.Server) error

func (GRPCPlugin) Server

func (p GRPCPlugin) Server(*go_plugin.MuxBroker) (interface{}, error)

type GRPCServer

type GRPCServer struct {
	Plugin Plugin
}

func (*GRPCServer) Configure

func (*GRPCServer) GenerateKey

func (s *GRPCServer) GenerateKey(ctx context.Context, req *GenerateKeyRequest) (*GenerateKeyResponse, error)

func (*GRPCServer) GetPluginInfo

func (*GRPCServer) GetPublicKey

func (*GRPCServer) GetPublicKeys

func (*GRPCServer) SignData

func (s *GRPCServer) SignData(ctx context.Context, req *SignDataRequest) (*SignDataResponse, error)

type GenerateKeyRequest

type GenerateKeyRequest struct {
	KeyId                string   `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	KeyType              KeyType  `protobuf:"varint,2,opt,name=key_type,json=keyType,proto3,enum=spire.server.keymanager.KeyType" json:"key_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GenerateKeyRequest) Descriptor

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

func (*GenerateKeyRequest) GetKeyId

func (m *GenerateKeyRequest) GetKeyId() string

func (*GenerateKeyRequest) GetKeyType

func (m *GenerateKeyRequest) GetKeyType() KeyType

func (*GenerateKeyRequest) ProtoMessage

func (*GenerateKeyRequest) ProtoMessage()

func (*GenerateKeyRequest) Reset

func (m *GenerateKeyRequest) Reset()

func (*GenerateKeyRequest) String

func (m *GenerateKeyRequest) String() string

func (*GenerateKeyRequest) XXX_DiscardUnknown

func (m *GenerateKeyRequest) XXX_DiscardUnknown()

func (*GenerateKeyRequest) XXX_Marshal

func (m *GenerateKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenerateKeyRequest) XXX_Merge

func (dst *GenerateKeyRequest) XXX_Merge(src proto.Message)

func (*GenerateKeyRequest) XXX_Size

func (m *GenerateKeyRequest) XXX_Size() int

func (*GenerateKeyRequest) XXX_Unmarshal

func (m *GenerateKeyRequest) XXX_Unmarshal(b []byte) error

type GenerateKeyResponse

type GenerateKeyResponse struct {
	PublicKey            *PublicKey `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*GenerateKeyResponse) Descriptor

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

func (*GenerateKeyResponse) GetPublicKey

func (m *GenerateKeyResponse) GetPublicKey() *PublicKey

func (*GenerateKeyResponse) ProtoMessage

func (*GenerateKeyResponse) ProtoMessage()

func (*GenerateKeyResponse) Reset

func (m *GenerateKeyResponse) Reset()

func (*GenerateKeyResponse) String

func (m *GenerateKeyResponse) String() string

func (*GenerateKeyResponse) XXX_DiscardUnknown

func (m *GenerateKeyResponse) XXX_DiscardUnknown()

func (*GenerateKeyResponse) XXX_Marshal

func (m *GenerateKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenerateKeyResponse) XXX_Merge

func (dst *GenerateKeyResponse) XXX_Merge(src proto.Message)

func (*GenerateKeyResponse) XXX_Size

func (m *GenerateKeyResponse) XXX_Size() int

func (*GenerateKeyResponse) XXX_Unmarshal

func (m *GenerateKeyResponse) XXX_Unmarshal(b []byte) error

type GetPluginInfoRequest

type GetPluginInfoRequest = plugin.GetPluginInfoRequest

GetPluginInfoRequest from public import github.com/spiffe/spire/proto/common/plugin/plugin.proto

type GetPluginInfoResponse

type GetPluginInfoResponse = plugin.GetPluginInfoResponse

GetPluginInfoResponse from public import github.com/spiffe/spire/proto/common/plugin/plugin.proto

type GetPublicKeyRequest

type GetPublicKeyRequest struct {
	KeyId                string   `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetPublicKeyRequest) Descriptor

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

func (*GetPublicKeyRequest) GetKeyId

func (m *GetPublicKeyRequest) GetKeyId() string

func (*GetPublicKeyRequest) ProtoMessage

func (*GetPublicKeyRequest) ProtoMessage()

func (*GetPublicKeyRequest) Reset

func (m *GetPublicKeyRequest) Reset()

func (*GetPublicKeyRequest) String

func (m *GetPublicKeyRequest) String() string

func (*GetPublicKeyRequest) XXX_DiscardUnknown

func (m *GetPublicKeyRequest) XXX_DiscardUnknown()

func (*GetPublicKeyRequest) XXX_Marshal

func (m *GetPublicKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetPublicKeyRequest) XXX_Merge

func (dst *GetPublicKeyRequest) XXX_Merge(src proto.Message)

func (*GetPublicKeyRequest) XXX_Size

func (m *GetPublicKeyRequest) XXX_Size() int

func (*GetPublicKeyRequest) XXX_Unmarshal

func (m *GetPublicKeyRequest) XXX_Unmarshal(b []byte) error

type GetPublicKeyResponse

type GetPublicKeyResponse struct {
	PublicKey            *PublicKey `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*GetPublicKeyResponse) Descriptor

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

func (*GetPublicKeyResponse) GetPublicKey

func (m *GetPublicKeyResponse) GetPublicKey() *PublicKey

func (*GetPublicKeyResponse) ProtoMessage

func (*GetPublicKeyResponse) ProtoMessage()

func (*GetPublicKeyResponse) Reset

func (m *GetPublicKeyResponse) Reset()

func (*GetPublicKeyResponse) String

func (m *GetPublicKeyResponse) String() string

func (*GetPublicKeyResponse) XXX_DiscardUnknown

func (m *GetPublicKeyResponse) XXX_DiscardUnknown()

func (*GetPublicKeyResponse) XXX_Marshal

func (m *GetPublicKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetPublicKeyResponse) XXX_Merge

func (dst *GetPublicKeyResponse) XXX_Merge(src proto.Message)

func (*GetPublicKeyResponse) XXX_Size

func (m *GetPublicKeyResponse) XXX_Size() int

func (*GetPublicKeyResponse) XXX_Unmarshal

func (m *GetPublicKeyResponse) XXX_Unmarshal(b []byte) error

type GetPublicKeysRequest

type GetPublicKeysRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetPublicKeysRequest) Descriptor

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

func (*GetPublicKeysRequest) ProtoMessage

func (*GetPublicKeysRequest) ProtoMessage()

func (*GetPublicKeysRequest) Reset

func (m *GetPublicKeysRequest) Reset()

func (*GetPublicKeysRequest) String

func (m *GetPublicKeysRequest) String() string

func (*GetPublicKeysRequest) XXX_DiscardUnknown

func (m *GetPublicKeysRequest) XXX_DiscardUnknown()

func (*GetPublicKeysRequest) XXX_Marshal

func (m *GetPublicKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetPublicKeysRequest) XXX_Merge

func (dst *GetPublicKeysRequest) XXX_Merge(src proto.Message)

func (*GetPublicKeysRequest) XXX_Size

func (m *GetPublicKeysRequest) XXX_Size() int

func (*GetPublicKeysRequest) XXX_Unmarshal

func (m *GetPublicKeysRequest) XXX_Unmarshal(b []byte) error

type GetPublicKeysResponse

type GetPublicKeysResponse struct {
	PublicKeys           []*PublicKey `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*GetPublicKeysResponse) Descriptor

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

func (*GetPublicKeysResponse) GetPublicKeys

func (m *GetPublicKeysResponse) GetPublicKeys() []*PublicKey

func (*GetPublicKeysResponse) ProtoMessage

func (*GetPublicKeysResponse) ProtoMessage()

func (*GetPublicKeysResponse) Reset

func (m *GetPublicKeysResponse) Reset()

func (*GetPublicKeysResponse) String

func (m *GetPublicKeysResponse) String() string

func (*GetPublicKeysResponse) XXX_DiscardUnknown

func (m *GetPublicKeysResponse) XXX_DiscardUnknown()

func (*GetPublicKeysResponse) XXX_Marshal

func (m *GetPublicKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetPublicKeysResponse) XXX_Merge

func (dst *GetPublicKeysResponse) XXX_Merge(src proto.Message)

func (*GetPublicKeysResponse) XXX_Size

func (m *GetPublicKeysResponse) XXX_Size() int

func (*GetPublicKeysResponse) XXX_Unmarshal

func (m *GetPublicKeysResponse) XXX_Unmarshal(b []byte) error

type HashAlgorithm

type HashAlgorithm int32
const (
	HashAlgorithm_UNSPECIFIED_HASH_ALGORITHM HashAlgorithm = 0
	// These entries (and their values) line up with a subset of the go
	// crypto.Hash constants
	HashAlgorithm_SHA224     HashAlgorithm = 4
	HashAlgorithm_SHA256     HashAlgorithm = 5
	HashAlgorithm_SHA384     HashAlgorithm = 6
	HashAlgorithm_SHA512     HashAlgorithm = 7
	HashAlgorithm_SHA3_224   HashAlgorithm = 10
	HashAlgorithm_SHA3_256   HashAlgorithm = 11
	HashAlgorithm_SHA3_384   HashAlgorithm = 12
	HashAlgorithm_SHA3_512   HashAlgorithm = 13
	HashAlgorithm_SHA512_224 HashAlgorithm = 14
	HashAlgorithm_SHA512_256 HashAlgorithm = 15
)

func (HashAlgorithm) EnumDescriptor

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

func (HashAlgorithm) String

func (x HashAlgorithm) String() string

type KeyManager

KeyManager is the interface used by all non-catalog components.

type KeyManagerClient

type KeyManagerClient interface {
	// Generates a new key
	GenerateKey(ctx context.Context, in *GenerateKeyRequest, opts ...grpc.CallOption) (*GenerateKeyResponse, error)
	// Get a public key by key id
	GetPublicKey(ctx context.Context, in *GetPublicKeyRequest, opts ...grpc.CallOption) (*GetPublicKeyResponse, error)
	// Gets all public keys
	GetPublicKeys(ctx context.Context, in *GetPublicKeysRequest, opts ...grpc.CallOption) (*GetPublicKeysResponse, error)
	// Signs data with private key
	SignData(ctx context.Context, in *SignDataRequest, opts ...grpc.CallOption) (*SignDataResponse, error)
	// Applies the plugin configuration
	Configure(ctx context.Context, in *plugin.ConfigureRequest, opts ...grpc.CallOption) (*plugin.ConfigureResponse, error)
	// Returns the version and related metadata of the installed plugin
	GetPluginInfo(ctx context.Context, in *plugin.GetPluginInfoRequest, opts ...grpc.CallOption) (*plugin.GetPluginInfoResponse, error)
}

KeyManagerClient is the client API for KeyManager service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewKeyManagerClient

func NewKeyManagerClient(cc *grpc.ClientConn) KeyManagerClient

type KeyManagerServer

type KeyManagerServer interface {
	// Generates a new key
	GenerateKey(context.Context, *GenerateKeyRequest) (*GenerateKeyResponse, error)
	// Get a public key by key id
	GetPublicKey(context.Context, *GetPublicKeyRequest) (*GetPublicKeyResponse, error)
	// Gets all public keys
	GetPublicKeys(context.Context, *GetPublicKeysRequest) (*GetPublicKeysResponse, error)
	// Signs data with private key
	SignData(context.Context, *SignDataRequest) (*SignDataResponse, error)
	// Applies the plugin configuration
	Configure(context.Context, *plugin.ConfigureRequest) (*plugin.ConfigureResponse, error)
	// Returns the version and related metadata of the installed plugin
	GetPluginInfo(context.Context, *plugin.GetPluginInfoRequest) (*plugin.GetPluginInfoResponse, error)
}

KeyManagerServer is the server API for KeyManager service.

type KeyType

type KeyType int32
const (
	KeyType_UNSPECIFIED_KEY_TYPE KeyType = 0
	KeyType_EC_P256              KeyType = 1
	KeyType_EC_P384              KeyType = 2
	KeyType_RSA_1024             KeyType = 3
	KeyType_RSA_2048             KeyType = 4
	KeyType_RSA_4096             KeyType = 5
)

func (KeyType) EnumDescriptor

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

func (KeyType) String

func (x KeyType) String() string

type PSSOptions

type PSSOptions struct {
	SaltLength           int32         `protobuf:"varint,1,opt,name=salt_length,json=saltLength,proto3" json:"salt_length,omitempty"`
	HashAlgorithm        HashAlgorithm `` /* 144-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*PSSOptions) Descriptor

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

func (*PSSOptions) GetHashAlgorithm

func (m *PSSOptions) GetHashAlgorithm() HashAlgorithm

func (*PSSOptions) GetSaltLength

func (m *PSSOptions) GetSaltLength() int32

func (*PSSOptions) ProtoMessage

func (*PSSOptions) ProtoMessage()

func (*PSSOptions) Reset

func (m *PSSOptions) Reset()

func (*PSSOptions) String

func (m *PSSOptions) String() string

func (*PSSOptions) XXX_DiscardUnknown

func (m *PSSOptions) XXX_DiscardUnknown()

func (*PSSOptions) XXX_Marshal

func (m *PSSOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PSSOptions) XXX_Merge

func (dst *PSSOptions) XXX_Merge(src proto.Message)

func (*PSSOptions) XXX_Size

func (m *PSSOptions) XXX_Size() int

func (*PSSOptions) XXX_Unmarshal

func (m *PSSOptions) XXX_Unmarshal(b []byte) error

type PublicKey

type PublicKey struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type                 KeyType  `protobuf:"varint,2,opt,name=type,proto3,enum=spire.server.keymanager.KeyType" json:"type,omitempty"`
	PkixData             []byte   `protobuf:"bytes,3,opt,name=pkix_data,json=pkixData,proto3" json:"pkix_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PublicKey) Descriptor

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

func (*PublicKey) GetId

func (m *PublicKey) GetId() string

func (*PublicKey) GetPkixData

func (m *PublicKey) GetPkixData() []byte

func (*PublicKey) GetType

func (m *PublicKey) GetType() KeyType

func (*PublicKey) ProtoMessage

func (*PublicKey) ProtoMessage()

func (*PublicKey) Reset

func (m *PublicKey) Reset()

func (*PublicKey) String

func (m *PublicKey) String() string

func (*PublicKey) XXX_DiscardUnknown

func (m *PublicKey) XXX_DiscardUnknown()

func (*PublicKey) XXX_Marshal

func (m *PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PublicKey) XXX_Merge

func (dst *PublicKey) XXX_Merge(src proto.Message)

func (*PublicKey) XXX_Size

func (m *PublicKey) XXX_Size() int

func (*PublicKey) XXX_Unmarshal

func (m *PublicKey) XXX_Unmarshal(b []byte) error

type SignDataRequest

type SignDataRequest struct {
	KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	Data  []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// Types that are valid to be assigned to SignerOpts:
	//	*SignDataRequest_HashAlgorithm
	//	*SignDataRequest_PssOptions
	SignerOpts           isSignDataRequest_SignerOpts `protobuf_oneof:"signer_opts"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (*SignDataRequest) Descriptor

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

func (*SignDataRequest) GetData

func (m *SignDataRequest) GetData() []byte

func (*SignDataRequest) GetHashAlgorithm

func (m *SignDataRequest) GetHashAlgorithm() HashAlgorithm

func (*SignDataRequest) GetKeyId

func (m *SignDataRequest) GetKeyId() string

func (*SignDataRequest) GetPssOptions

func (m *SignDataRequest) GetPssOptions() *PSSOptions

func (*SignDataRequest) GetSignerOpts

func (m *SignDataRequest) GetSignerOpts() isSignDataRequest_SignerOpts

func (*SignDataRequest) ProtoMessage

func (*SignDataRequest) ProtoMessage()

func (*SignDataRequest) Reset

func (m *SignDataRequest) Reset()

func (*SignDataRequest) String

func (m *SignDataRequest) String() string

func (*SignDataRequest) XXX_DiscardUnknown

func (m *SignDataRequest) XXX_DiscardUnknown()

func (*SignDataRequest) XXX_Marshal

func (m *SignDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignDataRequest) XXX_Merge

func (dst *SignDataRequest) XXX_Merge(src proto.Message)

func (*SignDataRequest) XXX_OneofFuncs

func (*SignDataRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*SignDataRequest) XXX_Size

func (m *SignDataRequest) XXX_Size() int

func (*SignDataRequest) XXX_Unmarshal

func (m *SignDataRequest) XXX_Unmarshal(b []byte) error

type SignDataRequest_HashAlgorithm

type SignDataRequest_HashAlgorithm struct {
	HashAlgorithm HashAlgorithm `protobuf:"varint,2,opt,name=hash_algorithm,json=hashAlgorithm,proto3,enum=spire.server.keymanager.HashAlgorithm,oneof"`
}

type SignDataRequest_PssOptions

type SignDataRequest_PssOptions struct {
	PssOptions *PSSOptions `protobuf:"bytes,4,opt,name=pss_options,json=pssOptions,proto3,oneof"`
}

type SignDataResponse

type SignDataResponse struct {
	Signature            []byte   `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignDataResponse) Descriptor

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

func (*SignDataResponse) GetSignature

func (m *SignDataResponse) GetSignature() []byte

func (*SignDataResponse) ProtoMessage

func (*SignDataResponse) ProtoMessage()

func (*SignDataResponse) Reset

func (m *SignDataResponse) Reset()

func (*SignDataResponse) String

func (m *SignDataResponse) String() string

func (*SignDataResponse) XXX_DiscardUnknown

func (m *SignDataResponse) XXX_DiscardUnknown()

func (*SignDataResponse) XXX_Marshal

func (m *SignDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignDataResponse) XXX_Merge

func (dst *SignDataResponse) XXX_Merge(src proto.Message)

func (*SignDataResponse) XXX_Size

func (m *SignDataResponse) XXX_Size() int

func (*SignDataResponse) XXX_Unmarshal

func (m *SignDataResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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