Documentation ¶
Index ¶
- Variables
- func KeyManagerPluginServer(server KeyManagerServer) pluginsdk.PluginServer
- func RegisterKeyManagerServer(s grpc.ServiceRegistrar, srv KeyManagerServer)
- type GenerateKeyRequest
- func (*GenerateKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateKeyRequest) GetKeyId() string
- func (x *GenerateKeyRequest) GetKeyType() KeyType
- func (*GenerateKeyRequest) ProtoMessage()
- func (x *GenerateKeyRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateKeyRequest) Reset()
- func (x *GenerateKeyRequest) String() string
- type GenerateKeyResponse
- func (*GenerateKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateKeyResponse) GetPublicKey() *PublicKey
- func (*GenerateKeyResponse) ProtoMessage()
- func (x *GenerateKeyResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateKeyResponse) Reset()
- func (x *GenerateKeyResponse) String() string
- type GetPublicKeyRequest
- func (*GetPublicKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPublicKeyRequest) GetKeyId() string
- func (*GetPublicKeyRequest) ProtoMessage()
- func (x *GetPublicKeyRequest) ProtoReflect() protoreflect.Message
- func (x *GetPublicKeyRequest) Reset()
- func (x *GetPublicKeyRequest) String() string
- type GetPublicKeyResponse
- func (*GetPublicKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPublicKeyResponse) GetPublicKey() *PublicKey
- func (*GetPublicKeyResponse) ProtoMessage()
- func (x *GetPublicKeyResponse) ProtoReflect() protoreflect.Message
- func (x *GetPublicKeyResponse) Reset()
- func (x *GetPublicKeyResponse) String() string
- type GetPublicKeysRequest
- type GetPublicKeysResponse
- func (*GetPublicKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPublicKeysResponse) GetPublicKeys() []*PublicKey
- func (*GetPublicKeysResponse) ProtoMessage()
- func (x *GetPublicKeysResponse) ProtoReflect() protoreflect.Message
- func (x *GetPublicKeysResponse) Reset()
- func (x *GetPublicKeysResponse) String() string
- type HashAlgorithm
- func (HashAlgorithm) Descriptor() protoreflect.EnumDescriptor
- func (x HashAlgorithm) Enum() *HashAlgorithm
- func (HashAlgorithm) EnumDescriptor() ([]byte, []int)deprecated
- func (x HashAlgorithm) Number() protoreflect.EnumNumber
- func (x HashAlgorithm) String() string
- func (HashAlgorithm) Type() protoreflect.EnumType
- type KeyManagerClient
- type KeyManagerPluginClient
- type KeyManagerServer
- type KeyType
- type PSSOptions
- func (*PSSOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PSSOptions) GetHashAlgorithm() HashAlgorithm
- func (x *PSSOptions) GetSaltLength() int32
- func (*PSSOptions) ProtoMessage()
- func (x *PSSOptions) ProtoReflect() protoreflect.Message
- func (x *PSSOptions) Reset()
- func (x *PSSOptions) String() string
- type PublicKey
- func (*PublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *PublicKey) GetId() string
- func (x *PublicKey) GetPkixData() []byte
- func (x *PublicKey) GetType() KeyType
- func (*PublicKey) ProtoMessage()
- func (x *PublicKey) ProtoReflect() protoreflect.Message
- func (x *PublicKey) Reset()
- func (x *PublicKey) String() string
- type SignDataRequest
- func (*SignDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignDataRequest) GetData() []byte
- func (x *SignDataRequest) GetHashAlgorithm() HashAlgorithm
- func (x *SignDataRequest) GetKeyId() string
- func (x *SignDataRequest) GetPssOptions() *PSSOptions
- func (m *SignDataRequest) GetSignerOpts() isSignDataRequest_SignerOpts
- func (*SignDataRequest) ProtoMessage()
- func (x *SignDataRequest) ProtoReflect() protoreflect.Message
- func (x *SignDataRequest) Reset()
- func (x *SignDataRequest) String() string
- type SignDataRequest_HashAlgorithm
- type SignDataRequest_PssOptions
- type SignDataResponse
- type UnimplementedKeyManagerServer
- func (UnimplementedKeyManagerServer) Configure(context.Context, *plugin.ConfigureRequest) (*plugin.ConfigureResponse, error)
- func (UnimplementedKeyManagerServer) GenerateKey(context.Context, *GenerateKeyRequest) (*GenerateKeyResponse, error)
- func (UnimplementedKeyManagerServer) GetPluginInfo(context.Context, *plugin.GetPluginInfoRequest) (*plugin.GetPluginInfoResponse, error)
- func (UnimplementedKeyManagerServer) GetPublicKey(context.Context, *GetPublicKeyRequest) (*GetPublicKeyResponse, error)
- func (UnimplementedKeyManagerServer) GetPublicKeys(context.Context, *GetPublicKeysRequest) (*GetPublicKeysResponse, error)
- func (UnimplementedKeyManagerServer) SignData(context.Context, *SignDataRequest) (*SignDataResponse, error)
- type UnsafeKeyManagerServer
Constants ¶
This section is empty.
Variables ¶
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", } KeyType_value = map[string]int32{ "UNSPECIFIED_KEY_TYPE": 0, "EC_P256": 1, "EC_P384": 2, "RSA_1024": 3, "RSA_2048": 4, "RSA_4096": 5, } )
Enum value maps for KeyType.
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", } 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, } )
Enum value maps for HashAlgorithm.
var File_spire_plugin_server_keymanager_v0_keymanager_proto protoreflect.FileDescriptor
var KeyManager_ServiceDesc = grpc.ServiceDesc{ ServiceName: "spire.server.keymanager.KeyManager", HandlerType: (*KeyManagerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GenerateKey", Handler: _KeyManager_GenerateKey_Handler, }, { MethodName: "GetPublicKey", Handler: _KeyManager_GetPublicKey_Handler, }, { MethodName: "GetPublicKeys", Handler: _KeyManager_GetPublicKeys_Handler, }, { MethodName: "SignData", Handler: _KeyManager_SignData_Handler, }, { MethodName: "Configure", Handler: _KeyManager_Configure_Handler, }, { MethodName: "GetPluginInfo", Handler: _KeyManager_GetPluginInfo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spire/plugin/server/keymanager/v0/keymanager.proto", }
KeyManager_ServiceDesc is the grpc.ServiceDesc for KeyManager service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func KeyManagerPluginServer ¶
func KeyManagerPluginServer(server KeyManagerServer) pluginsdk.PluginServer
func RegisterKeyManagerServer ¶
func RegisterKeyManagerServer(s grpc.ServiceRegistrar, srv KeyManagerServer)
Types ¶
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"` // contains filtered or unexported fields }
func (*GenerateKeyRequest) Descriptor
deprecated
func (*GenerateKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateKeyRequest.ProtoReflect.Descriptor instead.
func (*GenerateKeyRequest) GetKeyId ¶
func (x *GenerateKeyRequest) GetKeyId() string
func (*GenerateKeyRequest) GetKeyType ¶
func (x *GenerateKeyRequest) GetKeyType() KeyType
func (*GenerateKeyRequest) ProtoMessage ¶
func (*GenerateKeyRequest) ProtoMessage()
func (*GenerateKeyRequest) ProtoReflect ¶
func (x *GenerateKeyRequest) ProtoReflect() protoreflect.Message
func (*GenerateKeyRequest) Reset ¶
func (x *GenerateKeyRequest) Reset()
func (*GenerateKeyRequest) String ¶
func (x *GenerateKeyRequest) String() string
type GenerateKeyResponse ¶
type GenerateKeyResponse struct { PublicKey *PublicKey `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // contains filtered or unexported fields }
func (*GenerateKeyResponse) Descriptor
deprecated
func (*GenerateKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateKeyResponse.ProtoReflect.Descriptor instead.
func (*GenerateKeyResponse) GetPublicKey ¶
func (x *GenerateKeyResponse) GetPublicKey() *PublicKey
func (*GenerateKeyResponse) ProtoMessage ¶
func (*GenerateKeyResponse) ProtoMessage()
func (*GenerateKeyResponse) ProtoReflect ¶
func (x *GenerateKeyResponse) ProtoReflect() protoreflect.Message
func (*GenerateKeyResponse) Reset ¶
func (x *GenerateKeyResponse) Reset()
func (*GenerateKeyResponse) String ¶
func (x *GenerateKeyResponse) String() string
type GetPublicKeyRequest ¶
type GetPublicKeyRequest struct { KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // contains filtered or unexported fields }
func (*GetPublicKeyRequest) Descriptor
deprecated
func (*GetPublicKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPublicKeyRequest.ProtoReflect.Descriptor instead.
func (*GetPublicKeyRequest) GetKeyId ¶
func (x *GetPublicKeyRequest) GetKeyId() string
func (*GetPublicKeyRequest) ProtoMessage ¶
func (*GetPublicKeyRequest) ProtoMessage()
func (*GetPublicKeyRequest) ProtoReflect ¶
func (x *GetPublicKeyRequest) ProtoReflect() protoreflect.Message
func (*GetPublicKeyRequest) Reset ¶
func (x *GetPublicKeyRequest) Reset()
func (*GetPublicKeyRequest) String ¶
func (x *GetPublicKeyRequest) String() string
type GetPublicKeyResponse ¶
type GetPublicKeyResponse struct { PublicKey *PublicKey `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // contains filtered or unexported fields }
func (*GetPublicKeyResponse) Descriptor
deprecated
func (*GetPublicKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPublicKeyResponse.ProtoReflect.Descriptor instead.
func (*GetPublicKeyResponse) GetPublicKey ¶
func (x *GetPublicKeyResponse) GetPublicKey() *PublicKey
func (*GetPublicKeyResponse) ProtoMessage ¶
func (*GetPublicKeyResponse) ProtoMessage()
func (*GetPublicKeyResponse) ProtoReflect ¶
func (x *GetPublicKeyResponse) ProtoReflect() protoreflect.Message
func (*GetPublicKeyResponse) Reset ¶
func (x *GetPublicKeyResponse) Reset()
func (*GetPublicKeyResponse) String ¶
func (x *GetPublicKeyResponse) String() string
type GetPublicKeysRequest ¶
type GetPublicKeysRequest struct {
// contains filtered or unexported fields
}
func (*GetPublicKeysRequest) Descriptor
deprecated
func (*GetPublicKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPublicKeysRequest.ProtoReflect.Descriptor instead.
func (*GetPublicKeysRequest) ProtoMessage ¶
func (*GetPublicKeysRequest) ProtoMessage()
func (*GetPublicKeysRequest) ProtoReflect ¶
func (x *GetPublicKeysRequest) ProtoReflect() protoreflect.Message
func (*GetPublicKeysRequest) Reset ¶
func (x *GetPublicKeysRequest) Reset()
func (*GetPublicKeysRequest) String ¶
func (x *GetPublicKeysRequest) String() string
type GetPublicKeysResponse ¶
type GetPublicKeysResponse struct { PublicKeys []*PublicKey `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` // contains filtered or unexported fields }
func (*GetPublicKeysResponse) Descriptor
deprecated
func (*GetPublicKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPublicKeysResponse.ProtoReflect.Descriptor instead.
func (*GetPublicKeysResponse) GetPublicKeys ¶
func (x *GetPublicKeysResponse) GetPublicKeys() []*PublicKey
func (*GetPublicKeysResponse) ProtoMessage ¶
func (*GetPublicKeysResponse) ProtoMessage()
func (*GetPublicKeysResponse) ProtoReflect ¶
func (x *GetPublicKeysResponse) ProtoReflect() protoreflect.Message
func (*GetPublicKeysResponse) Reset ¶
func (x *GetPublicKeysResponse) Reset()
func (*GetPublicKeysResponse) String ¶
func (x *GetPublicKeysResponse) String() string
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) Descriptor ¶
func (HashAlgorithm) Descriptor() protoreflect.EnumDescriptor
func (HashAlgorithm) Enum ¶
func (x HashAlgorithm) Enum() *HashAlgorithm
func (HashAlgorithm) EnumDescriptor
deprecated
func (HashAlgorithm) EnumDescriptor() ([]byte, []int)
Deprecated: Use HashAlgorithm.Descriptor instead.
func (HashAlgorithm) Number ¶
func (x HashAlgorithm) Number() protoreflect.EnumNumber
func (HashAlgorithm) String ¶
func (x HashAlgorithm) String() string
func (HashAlgorithm) Type ¶
func (HashAlgorithm) Type() protoreflect.EnumType
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewKeyManagerClient ¶
func NewKeyManagerClient(cc grpc.ClientConnInterface) KeyManagerClient
type KeyManagerPluginClient ¶
type KeyManagerPluginClient struct {
KeyManagerClient
}
func (*KeyManagerPluginClient) GRPCServiceName ¶
func (c *KeyManagerPluginClient) GRPCServiceName() string
func (*KeyManagerPluginClient) InitClient ¶
func (c *KeyManagerPluginClient) InitClient(conn grpc.ClientConnInterface) interface{}
func (*KeyManagerPluginClient) IsInitialized ¶
func (c *KeyManagerPluginClient) IsInitialized() bool
func (KeyManagerPluginClient) Type ¶
func (s KeyManagerPluginClient) Type() string
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) // contains filtered or unexported methods }
KeyManagerServer is the server API for KeyManager service. All implementations must embed UnimplementedKeyManagerServer for forward compatibility
type KeyType ¶
type KeyType int32
func (KeyType) Descriptor ¶
func (KeyType) Descriptor() protoreflect.EnumDescriptor
func (KeyType) EnumDescriptor
deprecated
func (KeyType) Number ¶
func (x KeyType) Number() protoreflect.EnumNumber
func (KeyType) Type ¶
func (KeyType) Type() protoreflect.EnumType
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 */ // contains filtered or unexported fields }
func (*PSSOptions) Descriptor
deprecated
func (*PSSOptions) Descriptor() ([]byte, []int)
Deprecated: Use PSSOptions.ProtoReflect.Descriptor instead.
func (*PSSOptions) GetHashAlgorithm ¶
func (x *PSSOptions) GetHashAlgorithm() HashAlgorithm
func (*PSSOptions) GetSaltLength ¶
func (x *PSSOptions) GetSaltLength() int32
func (*PSSOptions) ProtoMessage ¶
func (*PSSOptions) ProtoMessage()
func (*PSSOptions) ProtoReflect ¶
func (x *PSSOptions) ProtoReflect() protoreflect.Message
func (*PSSOptions) Reset ¶
func (x *PSSOptions) Reset()
func (*PSSOptions) String ¶
func (x *PSSOptions) String() string
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"` // contains filtered or unexported fields }
func (*PublicKey) Descriptor
deprecated
func (*PublicKey) GetPkixData ¶
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) ProtoReflect ¶
func (x *PublicKey) ProtoReflect() protoreflect.Message
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 assignable to SignerOpts: // *SignDataRequest_HashAlgorithm // *SignDataRequest_PssOptions SignerOpts isSignDataRequest_SignerOpts `protobuf_oneof:"signer_opts"` // contains filtered or unexported fields }
func (*SignDataRequest) Descriptor
deprecated
func (*SignDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignDataRequest.ProtoReflect.Descriptor instead.
func (*SignDataRequest) GetData ¶
func (x *SignDataRequest) GetData() []byte
func (*SignDataRequest) GetHashAlgorithm ¶
func (x *SignDataRequest) GetHashAlgorithm() HashAlgorithm
func (*SignDataRequest) GetKeyId ¶
func (x *SignDataRequest) GetKeyId() string
func (*SignDataRequest) GetPssOptions ¶
func (x *SignDataRequest) GetPssOptions() *PSSOptions
func (*SignDataRequest) GetSignerOpts ¶
func (m *SignDataRequest) GetSignerOpts() isSignDataRequest_SignerOpts
func (*SignDataRequest) ProtoMessage ¶
func (*SignDataRequest) ProtoMessage()
func (*SignDataRequest) ProtoReflect ¶
func (x *SignDataRequest) ProtoReflect() protoreflect.Message
func (*SignDataRequest) Reset ¶
func (x *SignDataRequest) Reset()
func (*SignDataRequest) String ¶
func (x *SignDataRequest) String() string
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"` // contains filtered or unexported fields }
func (*SignDataResponse) Descriptor
deprecated
func (*SignDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignDataResponse.ProtoReflect.Descriptor instead.
func (*SignDataResponse) GetSignature ¶
func (x *SignDataResponse) GetSignature() []byte
func (*SignDataResponse) ProtoMessage ¶
func (*SignDataResponse) ProtoMessage()
func (*SignDataResponse) ProtoReflect ¶
func (x *SignDataResponse) ProtoReflect() protoreflect.Message
func (*SignDataResponse) Reset ¶
func (x *SignDataResponse) Reset()
func (*SignDataResponse) String ¶
func (x *SignDataResponse) String() string
type UnimplementedKeyManagerServer ¶
type UnimplementedKeyManagerServer struct { }
UnimplementedKeyManagerServer must be embedded to have forward compatible implementations.
func (UnimplementedKeyManagerServer) Configure ¶
func (UnimplementedKeyManagerServer) Configure(context.Context, *plugin.ConfigureRequest) (*plugin.ConfigureResponse, error)
func (UnimplementedKeyManagerServer) GenerateKey ¶
func (UnimplementedKeyManagerServer) GenerateKey(context.Context, *GenerateKeyRequest) (*GenerateKeyResponse, error)
func (UnimplementedKeyManagerServer) GetPluginInfo ¶
func (UnimplementedKeyManagerServer) GetPluginInfo(context.Context, *plugin.GetPluginInfoRequest) (*plugin.GetPluginInfoResponse, error)
func (UnimplementedKeyManagerServer) GetPublicKey ¶
func (UnimplementedKeyManagerServer) GetPublicKey(context.Context, *GetPublicKeyRequest) (*GetPublicKeyResponse, error)
func (UnimplementedKeyManagerServer) GetPublicKeys ¶
func (UnimplementedKeyManagerServer) GetPublicKeys(context.Context, *GetPublicKeysRequest) (*GetPublicKeysResponse, error)
func (UnimplementedKeyManagerServer) SignData ¶
func (UnimplementedKeyManagerServer) SignData(context.Context, *SignDataRequest) (*SignDataResponse, error)
type UnsafeKeyManagerServer ¶
type UnsafeKeyManagerServer interface {
// contains filtered or unexported methods
}
UnsafeKeyManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KeyManagerServer will result in compilation errors.