Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterKeyProviderServiceServer(s grpc.ServiceRegistrar, srv KeyProviderServiceServer)
- type KeyProviderKeyWrapProtocolInput
- func (*KeyProviderKeyWrapProtocolInput) Descriptor() ([]byte, []int)deprecated
- func (x *KeyProviderKeyWrapProtocolInput) GetKeyProviderKeyWrapProtocolInput() []byte
- func (*KeyProviderKeyWrapProtocolInput) ProtoMessage()
- func (x *KeyProviderKeyWrapProtocolInput) ProtoReflect() protoreflect.Message
- func (x *KeyProviderKeyWrapProtocolInput) Reset()
- func (x *KeyProviderKeyWrapProtocolInput) String() string
- type KeyProviderKeyWrapProtocolOutput
- func (*KeyProviderKeyWrapProtocolOutput) Descriptor() ([]byte, []int)deprecated
- func (x *KeyProviderKeyWrapProtocolOutput) GetKeyProviderKeyWrapProtocolOutput() []byte
- func (*KeyProviderKeyWrapProtocolOutput) ProtoMessage()
- func (x *KeyProviderKeyWrapProtocolOutput) ProtoReflect() protoreflect.Message
- func (x *KeyProviderKeyWrapProtocolOutput) Reset()
- func (x *KeyProviderKeyWrapProtocolOutput) String() string
- type KeyProviderServiceClient
- type KeyProviderServiceServer
- type UnimplementedKeyProviderServiceServer
- type UnsafeKeyProviderServiceServer
Constants ¶
const ( KeyProviderService_WrapKey_FullMethodName = "/keyprovider.KeyProviderService/WrapKey" KeyProviderService_UnWrapKey_FullMethodName = "/keyprovider.KeyProviderService/UnWrapKey" )
Variables ¶
var File_keyprovider_proto protoreflect.FileDescriptor
var KeyProviderService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "keyprovider.KeyProviderService", HandlerType: (*KeyProviderServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "WrapKey", Handler: _KeyProviderService_WrapKey_Handler, }, { MethodName: "UnWrapKey", Handler: _KeyProviderService_UnWrapKey_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "keyprovider.proto", }
KeyProviderService_ServiceDesc is the grpc.ServiceDesc for KeyProviderService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterKeyProviderServiceServer ¶
func RegisterKeyProviderServiceServer(s grpc.ServiceRegistrar, srv KeyProviderServiceServer)
Types ¶
type KeyProviderKeyWrapProtocolInput ¶
type KeyProviderKeyWrapProtocolInput struct {
KeyProviderKeyWrapProtocolInput []byte `protobuf:"bytes,1,opt,name=KeyProviderKeyWrapProtocolInput,proto3" json:"KeyProviderKeyWrapProtocolInput,omitempty"`
// contains filtered or unexported fields
}
func (*KeyProviderKeyWrapProtocolInput) Descriptor
deprecated
func (*KeyProviderKeyWrapProtocolInput) Descriptor() ([]byte, []int)
Deprecated: Use KeyProviderKeyWrapProtocolInput.ProtoReflect.Descriptor instead.
func (*KeyProviderKeyWrapProtocolInput) GetKeyProviderKeyWrapProtocolInput ¶
func (x *KeyProviderKeyWrapProtocolInput) GetKeyProviderKeyWrapProtocolInput() []byte
func (*KeyProviderKeyWrapProtocolInput) ProtoMessage ¶
func (*KeyProviderKeyWrapProtocolInput) ProtoMessage()
func (*KeyProviderKeyWrapProtocolInput) ProtoReflect ¶ added in v1.3.1
func (x *KeyProviderKeyWrapProtocolInput) ProtoReflect() protoreflect.Message
func (*KeyProviderKeyWrapProtocolInput) Reset ¶
func (x *KeyProviderKeyWrapProtocolInput) Reset()
func (*KeyProviderKeyWrapProtocolInput) String ¶
func (x *KeyProviderKeyWrapProtocolInput) String() string
type KeyProviderKeyWrapProtocolOutput ¶
type KeyProviderKeyWrapProtocolOutput struct {
KeyProviderKeyWrapProtocolOutput []byte `protobuf:"bytes,1,opt,name=KeyProviderKeyWrapProtocolOutput,proto3" json:"KeyProviderKeyWrapProtocolOutput,omitempty"`
// contains filtered or unexported fields
}
func (*KeyProviderKeyWrapProtocolOutput) Descriptor
deprecated
func (*KeyProviderKeyWrapProtocolOutput) Descriptor() ([]byte, []int)
Deprecated: Use KeyProviderKeyWrapProtocolOutput.ProtoReflect.Descriptor instead.
func (*KeyProviderKeyWrapProtocolOutput) GetKeyProviderKeyWrapProtocolOutput ¶
func (x *KeyProviderKeyWrapProtocolOutput) GetKeyProviderKeyWrapProtocolOutput() []byte
func (*KeyProviderKeyWrapProtocolOutput) ProtoMessage ¶
func (*KeyProviderKeyWrapProtocolOutput) ProtoMessage()
func (*KeyProviderKeyWrapProtocolOutput) ProtoReflect ¶ added in v1.3.1
func (x *KeyProviderKeyWrapProtocolOutput) ProtoReflect() protoreflect.Message
func (*KeyProviderKeyWrapProtocolOutput) Reset ¶
func (x *KeyProviderKeyWrapProtocolOutput) Reset()
func (*KeyProviderKeyWrapProtocolOutput) String ¶
func (x *KeyProviderKeyWrapProtocolOutput) String() string
type KeyProviderServiceClient ¶
type KeyProviderServiceClient interface {
WrapKey(ctx context.Context, in *KeyProviderKeyWrapProtocolInput, opts ...grpc.CallOption) (*KeyProviderKeyWrapProtocolOutput, error)
UnWrapKey(ctx context.Context, in *KeyProviderKeyWrapProtocolInput, opts ...grpc.CallOption) (*KeyProviderKeyWrapProtocolOutput, error)
}
KeyProviderServiceClient is the client API for KeyProviderService 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 NewKeyProviderServiceClient ¶
func NewKeyProviderServiceClient(cc grpc.ClientConnInterface) KeyProviderServiceClient
type KeyProviderServiceServer ¶
type KeyProviderServiceServer interface {
WrapKey(context.Context, *KeyProviderKeyWrapProtocolInput) (*KeyProviderKeyWrapProtocolOutput, error)
UnWrapKey(context.Context, *KeyProviderKeyWrapProtocolInput) (*KeyProviderKeyWrapProtocolOutput, error)
// contains filtered or unexported methods
}
KeyProviderServiceServer is the server API for KeyProviderService service. All implementations must embed UnimplementedKeyProviderServiceServer for forward compatibility.
type UnimplementedKeyProviderServiceServer ¶
type UnimplementedKeyProviderServiceServer struct{}
UnimplementedKeyProviderServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnsafeKeyProviderServiceServer ¶ added in v1.3.1
type UnsafeKeyProviderServiceServer interface {
// contains filtered or unexported methods
}
UnsafeKeyProviderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KeyProviderServiceServer will result in compilation errors.