Documentation
¶
Index ¶
- Variables
- func RegisterKeyManagerServer(s *grpc.Server, srv KeyManagerServer)
- type GenerateKeyRequest
- func (*GenerateKeyRequest) Descriptor() ([]byte, []int)
- func (m *GenerateKeyRequest) GetKeyId() string
- func (m *GenerateKeyRequest) GetKeyType() KeyType
- func (*GenerateKeyRequest) ProtoMessage()
- func (m *GenerateKeyRequest) Reset()
- func (m *GenerateKeyRequest) String() string
- func (m *GenerateKeyRequest) XXX_DiscardUnknown()
- func (m *GenerateKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenerateKeyRequest) XXX_Merge(src proto.Message)
- func (m *GenerateKeyRequest) XXX_Size() int
- func (m *GenerateKeyRequest) XXX_Unmarshal(b []byte) error
- type GenerateKeyResponse
- func (*GenerateKeyResponse) Descriptor() ([]byte, []int)
- func (m *GenerateKeyResponse) GetPublicKey() *PublicKey
- func (*GenerateKeyResponse) ProtoMessage()
- func (m *GenerateKeyResponse) Reset()
- func (m *GenerateKeyResponse) String() string
- func (m *GenerateKeyResponse) XXX_DiscardUnknown()
- func (m *GenerateKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenerateKeyResponse) XXX_Merge(src proto.Message)
- func (m *GenerateKeyResponse) XXX_Size() int
- func (m *GenerateKeyResponse) XXX_Unmarshal(b []byte) error
- type GetPublicKeyRequest
- func (*GetPublicKeyRequest) Descriptor() ([]byte, []int)
- func (m *GetPublicKeyRequest) GetKeyId() string
- func (*GetPublicKeyRequest) ProtoMessage()
- func (m *GetPublicKeyRequest) Reset()
- func (m *GetPublicKeyRequest) String() string
- func (m *GetPublicKeyRequest) XXX_DiscardUnknown()
- func (m *GetPublicKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPublicKeyRequest) XXX_Merge(src proto.Message)
- func (m *GetPublicKeyRequest) XXX_Size() int
- func (m *GetPublicKeyRequest) XXX_Unmarshal(b []byte) error
- type GetPublicKeyResponse
- func (*GetPublicKeyResponse) Descriptor() ([]byte, []int)
- func (m *GetPublicKeyResponse) GetPublicKey() *PublicKey
- func (*GetPublicKeyResponse) ProtoMessage()
- func (m *GetPublicKeyResponse) Reset()
- func (m *GetPublicKeyResponse) String() string
- func (m *GetPublicKeyResponse) XXX_DiscardUnknown()
- func (m *GetPublicKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPublicKeyResponse) XXX_Merge(src proto.Message)
- func (m *GetPublicKeyResponse) XXX_Size() int
- func (m *GetPublicKeyResponse) XXX_Unmarshal(b []byte) error
- type GetPublicKeysRequest
- func (*GetPublicKeysRequest) Descriptor() ([]byte, []int)
- func (*GetPublicKeysRequest) ProtoMessage()
- func (m *GetPublicKeysRequest) Reset()
- func (m *GetPublicKeysRequest) String() string
- func (m *GetPublicKeysRequest) XXX_DiscardUnknown()
- func (m *GetPublicKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPublicKeysRequest) XXX_Merge(src proto.Message)
- func (m *GetPublicKeysRequest) XXX_Size() int
- func (m *GetPublicKeysRequest) XXX_Unmarshal(b []byte) error
- type GetPublicKeysResponse
- func (*GetPublicKeysResponse) Descriptor() ([]byte, []int)
- func (m *GetPublicKeysResponse) GetPublicKeys() []*PublicKey
- func (*GetPublicKeysResponse) ProtoMessage()
- func (m *GetPublicKeysResponse) Reset()
- func (m *GetPublicKeysResponse) String() string
- func (m *GetPublicKeysResponse) XXX_DiscardUnknown()
- func (m *GetPublicKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPublicKeysResponse) XXX_Merge(src proto.Message)
- func (m *GetPublicKeysResponse) XXX_Size() int
- func (m *GetPublicKeysResponse) XXX_Unmarshal(b []byte) error
- type HashAlgorithm
- type KeyManagerClient
- type KeyManagerServer
- type KeyType
- type PSSOptions
- func (*PSSOptions) Descriptor() ([]byte, []int)
- func (m *PSSOptions) GetHashAlgorithm() HashAlgorithm
- func (m *PSSOptions) GetSaltLength() int32
- func (*PSSOptions) ProtoMessage()
- func (m *PSSOptions) Reset()
- func (m *PSSOptions) String() string
- func (m *PSSOptions) XXX_DiscardUnknown()
- func (m *PSSOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PSSOptions) XXX_Merge(src proto.Message)
- func (m *PSSOptions) XXX_Size() int
- func (m *PSSOptions) XXX_Unmarshal(b []byte) error
- type PublicKey
- func (*PublicKey) Descriptor() ([]byte, []int)
- func (m *PublicKey) GetId() string
- func (m *PublicKey) GetPkixData() []byte
- func (m *PublicKey) GetType() KeyType
- func (*PublicKey) ProtoMessage()
- func (m *PublicKey) Reset()
- func (m *PublicKey) String() string
- func (m *PublicKey) XXX_DiscardUnknown()
- func (m *PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PublicKey) XXX_Merge(src proto.Message)
- func (m *PublicKey) XXX_Size() int
- func (m *PublicKey) XXX_Unmarshal(b []byte) error
- type SignDataRequest
- func (*SignDataRequest) Descriptor() ([]byte, []int)
- func (m *SignDataRequest) GetData() []byte
- func (m *SignDataRequest) GetHashAlgorithm() HashAlgorithm
- func (m *SignDataRequest) GetKeyId() string
- func (m *SignDataRequest) GetPssOptions() *PSSOptions
- func (m *SignDataRequest) GetSignerOpts() isSignDataRequest_SignerOpts
- func (*SignDataRequest) ProtoMessage()
- func (m *SignDataRequest) Reset()
- func (m *SignDataRequest) String() string
- func (m *SignDataRequest) XXX_DiscardUnknown()
- func (m *SignDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignDataRequest) XXX_Merge(src proto.Message)
- func (*SignDataRequest) XXX_OneofWrappers() []interface{}
- func (m *SignDataRequest) XXX_Size() int
- func (m *SignDataRequest) XXX_Unmarshal(b []byte) error
- type SignDataRequest_HashAlgorithm
- type SignDataRequest_PssOptions
- type SignDataResponse
- func (*SignDataResponse) Descriptor() ([]byte, []int)
- func (m *SignDataResponse) GetSignature() []byte
- func (*SignDataResponse) ProtoMessage()
- func (m *SignDataResponse) Reset()
- func (m *SignDataResponse) String() string
- func (m *SignDataResponse) XXX_DiscardUnknown()
- func (m *SignDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignDataResponse) XXX_Merge(src proto.Message)
- func (m *SignDataResponse) XXX_Size() int
- func (m *SignDataResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedKeyManagerServer
- func (*UnimplementedKeyManagerServer) Configure(ctx context.Context, req *plugin.ConfigureRequest) (*plugin.ConfigureResponse, error)
- func (*UnimplementedKeyManagerServer) GenerateKey(ctx context.Context, req *GenerateKeyRequest) (*GenerateKeyResponse, error)
- func (*UnimplementedKeyManagerServer) GetPluginInfo(ctx context.Context, req *plugin.GetPluginInfoRequest) (*plugin.GetPluginInfoResponse, error)
- func (*UnimplementedKeyManagerServer) GetPublicKey(ctx context.Context, req *GetPublicKeyRequest) (*GetPublicKeyResponse, error)
- func (*UnimplementedKeyManagerServer) GetPublicKeys(ctx context.Context, req *GetPublicKeysRequest) (*GetPublicKeysResponse, error)
- func (*UnimplementedKeyManagerServer) SignData(ctx context.Context, req *SignDataRequest) (*SignDataResponse, error)
Constants ¶
This section is empty.
Variables ¶
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 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 (m *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 (m *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 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 (m *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 (m *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 (m *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 (m *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 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 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 (m *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) GetPkixData ¶
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) XXX_DiscardUnknown ¶
func (m *PublicKey) XXX_DiscardUnknown()
func (*PublicKey) XXX_Marshal ¶
func (*PublicKey) XXX_Unmarshal ¶
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 (m *SignDataRequest) XXX_Merge(src proto.Message)
func (*SignDataRequest) XXX_OneofWrappers ¶
func (*SignDataRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers 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 (m *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
type UnimplementedKeyManagerServer ¶
type UnimplementedKeyManagerServer struct { }
UnimplementedKeyManagerServer can be embedded to have forward compatible implementations.
func (*UnimplementedKeyManagerServer) Configure ¶
func (*UnimplementedKeyManagerServer) Configure(ctx context.Context, req *plugin.ConfigureRequest) (*plugin.ConfigureResponse, error)
func (*UnimplementedKeyManagerServer) GenerateKey ¶
func (*UnimplementedKeyManagerServer) GenerateKey(ctx context.Context, req *GenerateKeyRequest) (*GenerateKeyResponse, error)
func (*UnimplementedKeyManagerServer) GetPluginInfo ¶
func (*UnimplementedKeyManagerServer) GetPluginInfo(ctx context.Context, req *plugin.GetPluginInfoRequest) (*plugin.GetPluginInfoResponse, error)
func (*UnimplementedKeyManagerServer) GetPublicKey ¶
func (*UnimplementedKeyManagerServer) GetPublicKey(ctx context.Context, req *GetPublicKeyRequest) (*GetPublicKeyResponse, error)
func (*UnimplementedKeyManagerServer) GetPublicKeys ¶
func (*UnimplementedKeyManagerServer) GetPublicKeys(ctx context.Context, req *GetPublicKeysRequest) (*GetPublicKeysResponse, error)
func (*UnimplementedKeyManagerServer) SignData ¶
func (*UnimplementedKeyManagerServer) SignData(ctx context.Context, req *SignDataRequest) (*SignDataResponse, error)
Click to show internal directories.
Click to hide internal directories.