Documentation ¶
Overview ¶
Provides interfaces and adapters for the KeyManager service
Generated code. Do not modify by hand.
Index ¶
- Constants
- Variables
- func PluginServer(server KeyManagerServer) catalog.PluginServer
- type GenerateKeyRequest
- type GenerateKeyResponse
- type GetPublicKeyRequest
- type GetPublicKeyResponse
- type GetPublicKeysRequest
- type GetPublicKeysResponse
- type HashAlgorithm
- type KeyManager
- type KeyManagerClient
- type KeyManagerServer
- type KeyType
- type PSSOptions
- type Plugin
- type PublicKey
- type SignDataRequest
- type SignDataRequest_HashAlgorithm
- type SignDataRequest_PssOptions
- type SignDataResponse
- type UnimplementedKeyManagerServer
- type UnsafeKeyManagerServer
Constants ¶
View Source
const ( Type = "KeyManager" HashAlgorithm_SHA224 = keymanager.HashAlgorithm_SHA224 //nolint: golint HashAlgorithm_SHA256 = keymanager.HashAlgorithm_SHA256 //nolint: golint HashAlgorithm_SHA384 = keymanager.HashAlgorithm_SHA384 //nolint: golint HashAlgorithm_SHA3_224 = keymanager.HashAlgorithm_SHA3_224 //nolint: golint HashAlgorithm_SHA3_256 = keymanager.HashAlgorithm_SHA3_256 //nolint: golint HashAlgorithm_SHA3_384 = keymanager.HashAlgorithm_SHA3_384 //nolint: golint HashAlgorithm_SHA3_512 = keymanager.HashAlgorithm_SHA3_512 //nolint: golint HashAlgorithm_SHA512 = keymanager.HashAlgorithm_SHA512 //nolint: golint HashAlgorithm_SHA512_224 = keymanager.HashAlgorithm_SHA512_224 //nolint: golint HashAlgorithm_SHA512_256 = keymanager.HashAlgorithm_SHA512_256 //nolint: golint HashAlgorithm_UNSPECIFIED_HASH_ALGORITHM = keymanager.HashAlgorithm_UNSPECIFIED_HASH_ALGORITHM //nolint: golint KeyType_EC_P256 = keymanager.KeyType_EC_P256 //nolint: golint KeyType_EC_P384 = keymanager.KeyType_EC_P384 //nolint: golint KeyType_RSA_1024 = keymanager.KeyType_RSA_1024 //nolint: golint KeyType_RSA_2048 = keymanager.KeyType_RSA_2048 //nolint: golint KeyType_RSA_4096 = keymanager.KeyType_RSA_4096 //nolint: golint KeyType_UNSPECIFIED_KEY_TYPE = keymanager.KeyType_UNSPECIFIED_KEY_TYPE //nolint: golint )
Variables ¶
View Source
var PluginClient catalog.PluginClient = pluginClient{}
PluginClient is a catalog PluginClient implementation for the KeyManager plugin.
Functions ¶
func PluginServer ¶
func PluginServer(server KeyManagerServer) catalog.PluginServer
PluginServer returns a catalog PluginServer implementation for the KeyManager plugin.
Types ¶
type GenerateKeyRequest ¶
type GenerateKeyRequest = keymanager.GenerateKeyRequest //nolint: golint
type GenerateKeyResponse ¶
type GenerateKeyResponse = keymanager.GenerateKeyResponse //nolint: golint
type GetPublicKeyRequest ¶
type GetPublicKeyRequest = keymanager.GetPublicKeyRequest //nolint: golint
type GetPublicKeyResponse ¶
type GetPublicKeyResponse = keymanager.GetPublicKeyResponse //nolint: golint
type GetPublicKeysRequest ¶
type GetPublicKeysRequest = keymanager.GetPublicKeysRequest //nolint: golint
type GetPublicKeysResponse ¶
type GetPublicKeysResponse = keymanager.GetPublicKeysResponse //nolint: golint
type HashAlgorithm ¶
type HashAlgorithm = keymanager.HashAlgorithm //nolint: golint
type KeyManager ¶
type KeyManager interface { GenerateKey(context.Context, *GenerateKeyRequest) (*GenerateKeyResponse, error) GetPublicKey(context.Context, *GetPublicKeyRequest) (*GetPublicKeyResponse, error) GetPublicKeys(context.Context, *GetPublicKeysRequest) (*GetPublicKeysResponse, error) SignData(context.Context, *SignDataRequest) (*SignDataResponse, error) }
KeyManager is the client interface for the service type KeyManager interface.
func AdaptPluginClient ¶
func AdaptPluginClient(client KeyManagerClient) KeyManager
type KeyManagerClient ¶
type KeyManagerClient = keymanager.KeyManagerClient //nolint: golint
type KeyManagerServer ¶
type KeyManagerServer = keymanager.KeyManagerServer //nolint: golint
type KeyType ¶
type KeyType = keymanager.KeyType //nolint: golint
type PSSOptions ¶
type PSSOptions = keymanager.PSSOptions //nolint: golint
type Plugin ¶
type Plugin interface { Configure(context.Context, *spi.ConfigureRequest) (*spi.ConfigureResponse, error) GenerateKey(context.Context, *GenerateKeyRequest) (*GenerateKeyResponse, error) GetPluginInfo(context.Context, *spi.GetPluginInfoRequest) (*spi.GetPluginInfoResponse, error) GetPublicKey(context.Context, *GetPublicKeyRequest) (*GetPublicKeyResponse, error) GetPublicKeys(context.Context, *GetPublicKeysRequest) (*GetPublicKeysResponse, error) SignData(context.Context, *SignDataRequest) (*SignDataResponse, error) }
Plugin is the client interface for the service with the plugin related methods used by the catalog to initialize the plugin.
type PublicKey ¶
type PublicKey = keymanager.PublicKey //nolint: golint
type SignDataRequest ¶
type SignDataRequest = keymanager.SignDataRequest //nolint: golint
type SignDataRequest_HashAlgorithm ¶
type SignDataRequest_HashAlgorithm = keymanager.SignDataRequest_HashAlgorithm //nolint: golint
type SignDataRequest_PssOptions ¶
type SignDataRequest_PssOptions = keymanager.SignDataRequest_PssOptions //nolint: golint
type SignDataResponse ¶
type SignDataResponse = keymanager.SignDataResponse //nolint: golint
type UnimplementedKeyManagerServer ¶
type UnimplementedKeyManagerServer = keymanager.UnimplementedKeyManagerServer //nolint: golint
type UnsafeKeyManagerServer ¶ added in v0.12.0
type UnsafeKeyManagerServer = keymanager.UnsafeKeyManagerServer //nolint: golint
Click to show internal directories.
Click to hide internal directories.