Versions in this module Expand all Collapse all v0 v0.0.6 Mar 29, 2026 Changes in this version + const SpiService_EngineExport_FullMethodName + const SpiService_EngineInitRecipient_FullMethodName + const SpiService_EngineInitSenderWithSeed_FullMethodName + const SpiService_EngineInitSender_FullMethodName + const SpiService_EngineOpen_FullMethodName + const SpiService_EngineSeal_FullMethodName + const SpiService_GetEncapsulated_FullMethodName + const XdhKeySpecService_Equals_FullMethodName + const XdhKeySpecService_GetFormat_FullMethodName + const XdhKeySpecService_GetKey_FullMethodName + const XdhKeySpecService_HashCode_FullMethodName + const XdhKeySpecService_NewXdhKeySpec_FullMethodName + var File_proto_hpke_hpke_proto protoreflect.FileDescriptor + var SpiService_ServiceDesc = grpc.ServiceDesc + var XdhKeySpecService_ServiceDesc = grpc.ServiceDesc + func RegisterSpiServiceServer(s grpc.ServiceRegistrar, srv SpiServiceServer) + func RegisterXdhKeySpecServiceServer(s grpc.ServiceRegistrar, srv XdhKeySpecServiceServer) + type EngineExportRequest struct + Arg0 int32 + Arg1 int64 + func (*EngineExportRequest) Descriptor() ([]byte, []int) + func (*EngineExportRequest) ProtoMessage() + func (x *EngineExportRequest) GetArg0() int32 + func (x *EngineExportRequest) GetArg1() int64 + func (x *EngineExportRequest) ProtoReflect() protoreflect.Message + func (x *EngineExportRequest) Reset() + func (x *EngineExportRequest) String() string + type EngineExportResponse struct + Result int64 + func (*EngineExportResponse) Descriptor() ([]byte, []int) + func (*EngineExportResponse) ProtoMessage() + func (x *EngineExportResponse) GetResult() int64 + func (x *EngineExportResponse) ProtoReflect() protoreflect.Message + func (x *EngineExportResponse) Reset() + func (x *EngineExportResponse) String() string + type EngineInitRecipientRequest struct + Arg0 int64 + Arg1 int64 + Arg2 int64 + Arg3 int64 + Arg4 int64 + Arg5 int64 + func (*EngineInitRecipientRequest) Descriptor() ([]byte, []int) + func (*EngineInitRecipientRequest) ProtoMessage() + func (x *EngineInitRecipientRequest) GetArg0() int64 + func (x *EngineInitRecipientRequest) GetArg1() int64 + func (x *EngineInitRecipientRequest) GetArg2() int64 + func (x *EngineInitRecipientRequest) GetArg3() int64 + func (x *EngineInitRecipientRequest) GetArg4() int64 + func (x *EngineInitRecipientRequest) GetArg5() int64 + func (x *EngineInitRecipientRequest) ProtoReflect() protoreflect.Message + func (x *EngineInitRecipientRequest) Reset() + func (x *EngineInitRecipientRequest) String() string + type EngineInitRecipientResponse struct + func (*EngineInitRecipientResponse) Descriptor() ([]byte, []int) + func (*EngineInitRecipientResponse) ProtoMessage() + func (x *EngineInitRecipientResponse) ProtoReflect() protoreflect.Message + func (x *EngineInitRecipientResponse) Reset() + func (x *EngineInitRecipientResponse) String() string + type EngineInitSenderRequest struct + Arg0 int64 + Arg1 int64 + Arg2 int64 + Arg3 int64 + Arg4 int64 + func (*EngineInitSenderRequest) Descriptor() ([]byte, []int) + func (*EngineInitSenderRequest) ProtoMessage() + func (x *EngineInitSenderRequest) GetArg0() int64 + func (x *EngineInitSenderRequest) GetArg1() int64 + func (x *EngineInitSenderRequest) GetArg2() int64 + func (x *EngineInitSenderRequest) GetArg3() int64 + func (x *EngineInitSenderRequest) GetArg4() int64 + func (x *EngineInitSenderRequest) ProtoReflect() protoreflect.Message + func (x *EngineInitSenderRequest) Reset() + func (x *EngineInitSenderRequest) String() string + type EngineInitSenderResponse struct + func (*EngineInitSenderResponse) Descriptor() ([]byte, []int) + func (*EngineInitSenderResponse) ProtoMessage() + func (x *EngineInitSenderResponse) ProtoReflect() protoreflect.Message + func (x *EngineInitSenderResponse) Reset() + func (x *EngineInitSenderResponse) String() string + type EngineInitSenderWithSeedRequest struct + Arg0 int64 + Arg1 int64 + Arg2 int64 + Arg3 int64 + Arg4 int64 + Arg5 int64 + func (*EngineInitSenderWithSeedRequest) Descriptor() ([]byte, []int) + func (*EngineInitSenderWithSeedRequest) ProtoMessage() + func (x *EngineInitSenderWithSeedRequest) GetArg0() int64 + func (x *EngineInitSenderWithSeedRequest) GetArg1() int64 + func (x *EngineInitSenderWithSeedRequest) GetArg2() int64 + func (x *EngineInitSenderWithSeedRequest) GetArg3() int64 + func (x *EngineInitSenderWithSeedRequest) GetArg4() int64 + func (x *EngineInitSenderWithSeedRequest) GetArg5() int64 + func (x *EngineInitSenderWithSeedRequest) ProtoReflect() protoreflect.Message + func (x *EngineInitSenderWithSeedRequest) Reset() + func (x *EngineInitSenderWithSeedRequest) String() string + type EngineInitSenderWithSeedResponse struct + func (*EngineInitSenderWithSeedResponse) Descriptor() ([]byte, []int) + func (*EngineInitSenderWithSeedResponse) ProtoMessage() + func (x *EngineInitSenderWithSeedResponse) ProtoReflect() protoreflect.Message + func (x *EngineInitSenderWithSeedResponse) Reset() + func (x *EngineInitSenderWithSeedResponse) String() string + type EngineOpenRequest struct + Arg0 int64 + Arg1 int64 + func (*EngineOpenRequest) Descriptor() ([]byte, []int) + func (*EngineOpenRequest) ProtoMessage() + func (x *EngineOpenRequest) GetArg0() int64 + func (x *EngineOpenRequest) GetArg1() int64 + func (x *EngineOpenRequest) ProtoReflect() protoreflect.Message + func (x *EngineOpenRequest) Reset() + func (x *EngineOpenRequest) String() string + type EngineOpenResponse struct + Result int64 + func (*EngineOpenResponse) Descriptor() ([]byte, []int) + func (*EngineOpenResponse) ProtoMessage() + func (x *EngineOpenResponse) GetResult() int64 + func (x *EngineOpenResponse) ProtoReflect() protoreflect.Message + func (x *EngineOpenResponse) Reset() + func (x *EngineOpenResponse) String() string + type EngineSealRequest struct + Arg0 int64 + Arg1 int64 + func (*EngineSealRequest) Descriptor() ([]byte, []int) + func (*EngineSealRequest) ProtoMessage() + func (x *EngineSealRequest) GetArg0() int64 + func (x *EngineSealRequest) GetArg1() int64 + func (x *EngineSealRequest) ProtoReflect() protoreflect.Message + func (x *EngineSealRequest) Reset() + func (x *EngineSealRequest) String() string + type EngineSealResponse struct + Result int64 + func (*EngineSealResponse) Descriptor() ([]byte, []int) + func (*EngineSealResponse) ProtoMessage() + func (x *EngineSealResponse) GetResult() int64 + func (x *EngineSealResponse) ProtoReflect() protoreflect.Message + func (x *EngineSealResponse) Reset() + func (x *EngineSealResponse) String() string + type EqualsRequest struct + Arg0 int64 + Handle int64 + func (*EqualsRequest) Descriptor() ([]byte, []int) + func (*EqualsRequest) ProtoMessage() + func (x *EqualsRequest) GetArg0() int64 + func (x *EqualsRequest) GetHandle() int64 + func (x *EqualsRequest) ProtoReflect() protoreflect.Message + func (x *EqualsRequest) Reset() + func (x *EqualsRequest) String() string + type EqualsResponse struct + Result bool + func (*EqualsResponse) Descriptor() ([]byte, []int) + func (*EqualsResponse) ProtoMessage() + func (x *EqualsResponse) GetResult() bool + func (x *EqualsResponse) ProtoReflect() protoreflect.Message + func (x *EqualsResponse) Reset() + func (x *EqualsResponse) String() string + type GetEncapsulatedRequest struct + func (*GetEncapsulatedRequest) Descriptor() ([]byte, []int) + func (*GetEncapsulatedRequest) ProtoMessage() + func (x *GetEncapsulatedRequest) ProtoReflect() protoreflect.Message + func (x *GetEncapsulatedRequest) Reset() + func (x *GetEncapsulatedRequest) String() string + type GetEncapsulatedResponse struct + Result int64 + func (*GetEncapsulatedResponse) Descriptor() ([]byte, []int) + func (*GetEncapsulatedResponse) ProtoMessage() + func (x *GetEncapsulatedResponse) GetResult() int64 + func (x *GetEncapsulatedResponse) ProtoReflect() protoreflect.Message + func (x *GetEncapsulatedResponse) Reset() + func (x *GetEncapsulatedResponse) String() string + type GetFormatRequest struct + Handle int64 + func (*GetFormatRequest) Descriptor() ([]byte, []int) + func (*GetFormatRequest) ProtoMessage() + func (x *GetFormatRequest) GetHandle() int64 + func (x *GetFormatRequest) ProtoReflect() protoreflect.Message + func (x *GetFormatRequest) Reset() + func (x *GetFormatRequest) String() string + type GetFormatResponse struct + Result string + func (*GetFormatResponse) Descriptor() ([]byte, []int) + func (*GetFormatResponse) ProtoMessage() + func (x *GetFormatResponse) GetResult() string + func (x *GetFormatResponse) ProtoReflect() protoreflect.Message + func (x *GetFormatResponse) Reset() + func (x *GetFormatResponse) String() string + type GetKeyRequest struct + Handle int64 + func (*GetKeyRequest) Descriptor() ([]byte, []int) + func (*GetKeyRequest) ProtoMessage() + func (x *GetKeyRequest) GetHandle() int64 + func (x *GetKeyRequest) ProtoReflect() protoreflect.Message + func (x *GetKeyRequest) Reset() + func (x *GetKeyRequest) String() string + type GetKeyResponse struct + Result int64 + func (*GetKeyResponse) Descriptor() ([]byte, []int) + func (*GetKeyResponse) ProtoMessage() + func (x *GetKeyResponse) GetResult() int64 + func (x *GetKeyResponse) ProtoReflect() protoreflect.Message + func (x *GetKeyResponse) Reset() + func (x *GetKeyResponse) String() string + type HashCodeRequest struct + Handle int64 + func (*HashCodeRequest) Descriptor() ([]byte, []int) + func (*HashCodeRequest) ProtoMessage() + func (x *HashCodeRequest) GetHandle() int64 + func (x *HashCodeRequest) ProtoReflect() protoreflect.Message + func (x *HashCodeRequest) Reset() + func (x *HashCodeRequest) String() string + type HashCodeResponse struct + Result int32 + func (*HashCodeResponse) Descriptor() ([]byte, []int) + func (*HashCodeResponse) ProtoMessage() + func (x *HashCodeResponse) GetResult() int32 + func (x *HashCodeResponse) ProtoReflect() protoreflect.Message + func (x *HashCodeResponse) Reset() + func (x *HashCodeResponse) String() string + type NewXdhKeySpecRequest struct + Arg0 int64 + func (*NewXdhKeySpecRequest) Descriptor() ([]byte, []int) + func (*NewXdhKeySpecRequest) ProtoMessage() + func (x *NewXdhKeySpecRequest) GetArg0() int64 + func (x *NewXdhKeySpecRequest) ProtoReflect() protoreflect.Message + func (x *NewXdhKeySpecRequest) Reset() + func (x *NewXdhKeySpecRequest) String() string + type NewXdhKeySpecResponse struct + Result int64 + func (*NewXdhKeySpecResponse) Descriptor() ([]byte, []int) + func (*NewXdhKeySpecResponse) ProtoMessage() + func (x *NewXdhKeySpecResponse) GetResult() int64 + func (x *NewXdhKeySpecResponse) ProtoReflect() protoreflect.Message + func (x *NewXdhKeySpecResponse) Reset() + func (x *NewXdhKeySpecResponse) String() string + type SpiServiceClient interface + EngineExport func(ctx context.Context, in *EngineExportRequest, opts ...grpc.CallOption) (*EngineExportResponse, error) + EngineInitRecipient func(ctx context.Context, in *EngineInitRecipientRequest, opts ...grpc.CallOption) (*EngineInitRecipientResponse, error) + EngineInitSender func(ctx context.Context, in *EngineInitSenderRequest, opts ...grpc.CallOption) (*EngineInitSenderResponse, error) + EngineInitSenderWithSeed func(ctx context.Context, in *EngineInitSenderWithSeedRequest, ...) (*EngineInitSenderWithSeedResponse, error) + EngineOpen func(ctx context.Context, in *EngineOpenRequest, opts ...grpc.CallOption) (*EngineOpenResponse, error) + EngineSeal func(ctx context.Context, in *EngineSealRequest, opts ...grpc.CallOption) (*EngineSealResponse, error) + GetEncapsulated func(ctx context.Context, in *GetEncapsulatedRequest, opts ...grpc.CallOption) (*GetEncapsulatedResponse, error) + func NewSpiServiceClient(cc grpc.ClientConnInterface) SpiServiceClient + type SpiServiceServer interface + EngineExport func(context.Context, *EngineExportRequest) (*EngineExportResponse, error) + EngineInitRecipient func(context.Context, *EngineInitRecipientRequest) (*EngineInitRecipientResponse, error) + EngineInitSender func(context.Context, *EngineInitSenderRequest) (*EngineInitSenderResponse, error) + EngineInitSenderWithSeed func(context.Context, *EngineInitSenderWithSeedRequest) (*EngineInitSenderWithSeedResponse, error) + EngineOpen func(context.Context, *EngineOpenRequest) (*EngineOpenResponse, error) + EngineSeal func(context.Context, *EngineSealRequest) (*EngineSealResponse, error) + GetEncapsulated func(context.Context, *GetEncapsulatedRequest) (*GetEncapsulatedResponse, error) + type UnimplementedSpiServiceServer struct + func (UnimplementedSpiServiceServer) EngineExport(context.Context, *EngineExportRequest) (*EngineExportResponse, error) + func (UnimplementedSpiServiceServer) EngineInitRecipient(context.Context, *EngineInitRecipientRequest) (*EngineInitRecipientResponse, error) + func (UnimplementedSpiServiceServer) EngineInitSender(context.Context, *EngineInitSenderRequest) (*EngineInitSenderResponse, error) + func (UnimplementedSpiServiceServer) EngineInitSenderWithSeed(context.Context, *EngineInitSenderWithSeedRequest) (*EngineInitSenderWithSeedResponse, error) + func (UnimplementedSpiServiceServer) EngineOpen(context.Context, *EngineOpenRequest) (*EngineOpenResponse, error) + func (UnimplementedSpiServiceServer) EngineSeal(context.Context, *EngineSealRequest) (*EngineSealResponse, error) + func (UnimplementedSpiServiceServer) GetEncapsulated(context.Context, *GetEncapsulatedRequest) (*GetEncapsulatedResponse, error) + type UnimplementedXdhKeySpecServiceServer struct + func (UnimplementedXdhKeySpecServiceServer) Equals(context.Context, *EqualsRequest) (*EqualsResponse, error) + func (UnimplementedXdhKeySpecServiceServer) GetFormat(context.Context, *GetFormatRequest) (*GetFormatResponse, error) + func (UnimplementedXdhKeySpecServiceServer) GetKey(context.Context, *GetKeyRequest) (*GetKeyResponse, error) + func (UnimplementedXdhKeySpecServiceServer) HashCode(context.Context, *HashCodeRequest) (*HashCodeResponse, error) + func (UnimplementedXdhKeySpecServiceServer) NewXdhKeySpec(context.Context, *NewXdhKeySpecRequest) (*NewXdhKeySpecResponse, error) + type UnsafeSpiServiceServer interface + type UnsafeXdhKeySpecServiceServer interface + type XdhKeySpecServiceClient interface + Equals func(ctx context.Context, in *EqualsRequest, opts ...grpc.CallOption) (*EqualsResponse, error) + GetFormat func(ctx context.Context, in *GetFormatRequest, opts ...grpc.CallOption) (*GetFormatResponse, error) + GetKey func(ctx context.Context, in *GetKeyRequest, opts ...grpc.CallOption) (*GetKeyResponse, error) + HashCode func(ctx context.Context, in *HashCodeRequest, opts ...grpc.CallOption) (*HashCodeResponse, error) + NewXdhKeySpec func(ctx context.Context, in *NewXdhKeySpecRequest, opts ...grpc.CallOption) (*NewXdhKeySpecResponse, error) + func NewXdhKeySpecServiceClient(cc grpc.ClientConnInterface) XdhKeySpecServiceClient + type XdhKeySpecServiceServer interface + Equals func(context.Context, *EqualsRequest) (*EqualsResponse, error) + GetFormat func(context.Context, *GetFormatRequest) (*GetFormatResponse, error) + GetKey func(context.Context, *GetKeyRequest) (*GetKeyResponse, error) + HashCode func(context.Context, *HashCodeRequest) (*HashCodeResponse, error) + NewXdhKeySpec func(context.Context, *NewXdhKeySpecRequest) (*NewXdhKeySpecResponse, error)