Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterKeystoreServer(s grpc.ServiceRegistrar, srv KeystoreServer)
- type AddTagRequest
- func (*AddTagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddTagRequest) GetKeyID() []byte
- func (x *AddTagRequest) GetTag() string
- func (*AddTagRequest) ProtoMessage()
- func (x *AddTagRequest) ProtoReflect() protoreflect.Message
- func (x *AddTagRequest) Reset()
- func (x *AddTagRequest) String() string
- type AddTagResponse
- type CreateKeyRequest
- func (*CreateKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateKeyRequest) GetKeyType() string
- func (x *CreateKeyRequest) GetTags() []string
- func (*CreateKeyRequest) ProtoMessage()
- func (x *CreateKeyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateKeyRequest) Reset()
- func (x *CreateKeyRequest) String() string
- type CreateKeyResponse
- type DeleteKeyRequest
- type DeleteKeyResponse
- type ExportKeyRequest
- type ExportKeyResponse
- type ImportKeyRequest
- func (*ImportKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportKeyRequest) GetData() []byte
- func (x *ImportKeyRequest) GetKeyType() string
- func (x *ImportKeyRequest) GetTags() []string
- func (*ImportKeyRequest) ProtoMessage()
- func (x *ImportKeyRequest) ProtoReflect() protoreflect.Message
- func (x *ImportKeyRequest) Reset()
- func (x *ImportKeyRequest) String() string
- type ImportKeyResponse
- type KeystoreClient
- type KeystoreServer
- type ListKeysRequest
- type ListKeysResponse
- type ListTagsRequest
- type ListTagsResponse
- type RemoveTagRequest
- func (*RemoveTagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveTagRequest) GetKeyID() []byte
- func (x *RemoveTagRequest) GetTag() string
- func (*RemoveTagRequest) ProtoMessage()
- func (x *RemoveTagRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveTagRequest) Reset()
- func (x *RemoveTagRequest) String() string
- type RemoveTagResponse
- type RunUDFRequest
- func (*RunUDFRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunUDFRequest) GetData() []byte
- func (x *RunUDFRequest) GetKeyID() []byte
- func (x *RunUDFRequest) GetName() string
- func (*RunUDFRequest) ProtoMessage()
- func (x *RunUDFRequest) ProtoReflect() protoreflect.Message
- func (x *RunUDFRequest) Reset()
- func (x *RunUDFRequest) String() string
- type RunUDFResponse
- type SignBatchRequest
- func (*SignBatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignBatchRequest) GetData() [][]byte
- func (x *SignBatchRequest) GetKeyID() []byte
- func (*SignBatchRequest) ProtoMessage()
- func (x *SignBatchRequest) ProtoReflect() protoreflect.Message
- func (x *SignBatchRequest) Reset()
- func (x *SignBatchRequest) String() string
- type SignBatchResponse
- type SignRequest
- type SignResponse
- type UnimplementedKeystoreServer
- func (UnimplementedKeystoreServer) AddTag(context.Context, *AddTagRequest) (*AddTagResponse, error)
- func (UnimplementedKeystoreServer) CreateKey(context.Context, *CreateKeyRequest) (*CreateKeyResponse, error)
- func (UnimplementedKeystoreServer) DeleteKey(context.Context, *DeleteKeyRequest) (*DeleteKeyResponse, error)
- func (UnimplementedKeystoreServer) ExportKey(context.Context, *ExportKeyRequest) (*ExportKeyResponse, error)
- func (UnimplementedKeystoreServer) ImportKey(context.Context, *ImportKeyRequest) (*ImportKeyResponse, error)
- func (UnimplementedKeystoreServer) ListKeys(context.Context, *ListKeysRequest) (*ListKeysResponse, error)
- func (UnimplementedKeystoreServer) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)
- func (UnimplementedKeystoreServer) RemoveTag(context.Context, *RemoveTagRequest) (*RemoveTagResponse, error)
- func (UnimplementedKeystoreServer) RunUDF(context.Context, *RunUDFRequest) (*RunUDFResponse, error)
- func (UnimplementedKeystoreServer) Sign(context.Context, *SignRequest) (*SignResponse, error)
- func (UnimplementedKeystoreServer) SignBatch(context.Context, *SignBatchRequest) (*SignBatchResponse, error)
- func (UnimplementedKeystoreServer) Verify(context.Context, *VerifyRequest) (*VerifyResponse, error)
- func (UnimplementedKeystoreServer) VerifyBatch(context.Context, *VerifyBatchRequest) (*VerifyBatchResponse, error)
- type UnsafeKeystoreServer
- type VerifyBatchRequest
- func (*VerifyBatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyBatchRequest) GetData() [][]byte
- func (x *VerifyBatchRequest) GetKeyID() []byte
- func (*VerifyBatchRequest) ProtoMessage()
- func (x *VerifyBatchRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyBatchRequest) Reset()
- func (x *VerifyBatchRequest) String() string
- type VerifyBatchResponse
- func (*VerifyBatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyBatchResponse) GetValid() []bool
- func (*VerifyBatchResponse) ProtoMessage()
- func (x *VerifyBatchResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyBatchResponse) Reset()
- func (x *VerifyBatchResponse) String() string
- type VerifyRequest
- func (*VerifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyRequest) GetData() []byte
- func (x *VerifyRequest) GetKeyID() []byte
- func (*VerifyRequest) ProtoMessage()
- func (x *VerifyRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyRequest) Reset()
- func (x *VerifyRequest) String() string
- type VerifyResponse
Constants ¶
const ( Keystore_Sign_FullMethodName = "/loop.internal.pb.keystore.Keystore/Sign" Keystore_SignBatch_FullMethodName = "/loop.internal.pb.keystore.Keystore/SignBatch" Keystore_Verify_FullMethodName = "/loop.internal.pb.keystore.Keystore/Verify" Keystore_VerifyBatch_FullMethodName = "/loop.internal.pb.keystore.Keystore/VerifyBatch" Keystore_ListKeys_FullMethodName = "/loop.internal.pb.keystore.Keystore/ListKeys" Keystore_ImportKey_FullMethodName = "/loop.internal.pb.keystore.Keystore/ImportKey" Keystore_ExportKey_FullMethodName = "/loop.internal.pb.keystore.Keystore/ExportKey" Keystore_CreateKey_FullMethodName = "/loop.internal.pb.keystore.Keystore/CreateKey" Keystore_DeleteKey_FullMethodName = "/loop.internal.pb.keystore.Keystore/DeleteKey" Keystore_AddTag_FullMethodName = "/loop.internal.pb.keystore.Keystore/AddTag" Keystore_RemoveTag_FullMethodName = "/loop.internal.pb.keystore.Keystore/RemoveTag" Keystore_ListTags_FullMethodName = "/loop.internal.pb.keystore.Keystore/ListTags" Keystore_RunUDF_FullMethodName = "/loop.internal.pb.keystore.Keystore/RunUDF" )
Variables ¶
var File_keystore_proto protoreflect.FileDescriptor
var Keystore_ServiceDesc = grpc.ServiceDesc{ ServiceName: "loop.internal.pb.keystore.Keystore", HandlerType: (*KeystoreServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Sign", Handler: _Keystore_Sign_Handler, }, { MethodName: "SignBatch", Handler: _Keystore_SignBatch_Handler, }, { MethodName: "Verify", Handler: _Keystore_Verify_Handler, }, { MethodName: "VerifyBatch", Handler: _Keystore_VerifyBatch_Handler, }, { MethodName: "ListKeys", Handler: _Keystore_ListKeys_Handler, }, { MethodName: "ImportKey", Handler: _Keystore_ImportKey_Handler, }, { MethodName: "ExportKey", Handler: _Keystore_ExportKey_Handler, }, { MethodName: "CreateKey", Handler: _Keystore_CreateKey_Handler, }, { MethodName: "DeleteKey", Handler: _Keystore_DeleteKey_Handler, }, { MethodName: "AddTag", Handler: _Keystore_AddTag_Handler, }, { MethodName: "RemoveTag", Handler: _Keystore_RemoveTag_Handler, }, { MethodName: "ListTags", Handler: _Keystore_ListTags_Handler, }, { MethodName: "RunUDF", Handler: _Keystore_RunUDF_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "keystore.proto", }
Keystore_ServiceDesc is the grpc.ServiceDesc for Keystore service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterKeystoreServer ¶
func RegisterKeystoreServer(s grpc.ServiceRegistrar, srv KeystoreServer)
Types ¶
type AddTagRequest ¶
type AddTagRequest struct { KeyID []byte `protobuf:"bytes,1,opt,name=keyID,proto3" json:"keyID,omitempty"` Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*AddTagRequest) Descriptor
deprecated
func (*AddTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddTagRequest.ProtoReflect.Descriptor instead.
func (*AddTagRequest) GetKeyID ¶
func (x *AddTagRequest) GetKeyID() []byte
func (*AddTagRequest) GetTag ¶
func (x *AddTagRequest) GetTag() string
func (*AddTagRequest) ProtoMessage ¶
func (*AddTagRequest) ProtoMessage()
func (*AddTagRequest) ProtoReflect ¶
func (x *AddTagRequest) ProtoReflect() protoreflect.Message
func (*AddTagRequest) Reset ¶
func (x *AddTagRequest) Reset()
func (*AddTagRequest) String ¶
func (x *AddTagRequest) String() string
type AddTagResponse ¶
type AddTagResponse struct {
// contains filtered or unexported fields
}
func (*AddTagResponse) Descriptor
deprecated
func (*AddTagResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddTagResponse.ProtoReflect.Descriptor instead.
func (*AddTagResponse) ProtoMessage ¶
func (*AddTagResponse) ProtoMessage()
func (*AddTagResponse) ProtoReflect ¶
func (x *AddTagResponse) ProtoReflect() protoreflect.Message
func (*AddTagResponse) Reset ¶
func (x *AddTagResponse) Reset()
func (*AddTagResponse) String ¶
func (x *AddTagResponse) String() string
type CreateKeyRequest ¶
type CreateKeyRequest struct { KeyType string `protobuf:"bytes,1,opt,name=keyType,proto3" json:"keyType,omitempty"` Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*CreateKeyRequest) Descriptor
deprecated
func (*CreateKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateKeyRequest.ProtoReflect.Descriptor instead.
func (*CreateKeyRequest) GetKeyType ¶
func (x *CreateKeyRequest) GetKeyType() string
func (*CreateKeyRequest) GetTags ¶
func (x *CreateKeyRequest) GetTags() []string
func (*CreateKeyRequest) ProtoMessage ¶
func (*CreateKeyRequest) ProtoMessage()
func (*CreateKeyRequest) ProtoReflect ¶
func (x *CreateKeyRequest) ProtoReflect() protoreflect.Message
func (*CreateKeyRequest) Reset ¶
func (x *CreateKeyRequest) Reset()
func (*CreateKeyRequest) String ¶
func (x *CreateKeyRequest) String() string
type CreateKeyResponse ¶
type CreateKeyResponse struct { KeyID []byte `protobuf:"bytes,1,opt,name=keyID,proto3" json:"keyID,omitempty"` // contains filtered or unexported fields }
func (*CreateKeyResponse) Descriptor
deprecated
func (*CreateKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateKeyResponse.ProtoReflect.Descriptor instead.
func (*CreateKeyResponse) GetKeyID ¶
func (x *CreateKeyResponse) GetKeyID() []byte
func (*CreateKeyResponse) ProtoMessage ¶
func (*CreateKeyResponse) ProtoMessage()
func (*CreateKeyResponse) ProtoReflect ¶
func (x *CreateKeyResponse) ProtoReflect() protoreflect.Message
func (*CreateKeyResponse) Reset ¶
func (x *CreateKeyResponse) Reset()
func (*CreateKeyResponse) String ¶
func (x *CreateKeyResponse) String() string
type DeleteKeyRequest ¶
type DeleteKeyRequest struct { KeyID []byte `protobuf:"bytes,1,opt,name=keyID,proto3" json:"keyID,omitempty"` // contains filtered or unexported fields }
func (*DeleteKeyRequest) Descriptor
deprecated
func (*DeleteKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteKeyRequest.ProtoReflect.Descriptor instead.
func (*DeleteKeyRequest) GetKeyID ¶
func (x *DeleteKeyRequest) GetKeyID() []byte
func (*DeleteKeyRequest) ProtoMessage ¶
func (*DeleteKeyRequest) ProtoMessage()
func (*DeleteKeyRequest) ProtoReflect ¶
func (x *DeleteKeyRequest) ProtoReflect() protoreflect.Message
func (*DeleteKeyRequest) Reset ¶
func (x *DeleteKeyRequest) Reset()
func (*DeleteKeyRequest) String ¶
func (x *DeleteKeyRequest) String() string
type DeleteKeyResponse ¶
type DeleteKeyResponse struct {
// contains filtered or unexported fields
}
func (*DeleteKeyResponse) Descriptor
deprecated
func (*DeleteKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteKeyResponse.ProtoReflect.Descriptor instead.
func (*DeleteKeyResponse) ProtoMessage ¶
func (*DeleteKeyResponse) ProtoMessage()
func (*DeleteKeyResponse) ProtoReflect ¶
func (x *DeleteKeyResponse) ProtoReflect() protoreflect.Message
func (*DeleteKeyResponse) Reset ¶
func (x *DeleteKeyResponse) Reset()
func (*DeleteKeyResponse) String ¶
func (x *DeleteKeyResponse) String() string
type ExportKeyRequest ¶
type ExportKeyRequest struct { KeyID []byte `protobuf:"bytes,1,opt,name=keyID,proto3" json:"keyID,omitempty"` // contains filtered or unexported fields }
func (*ExportKeyRequest) Descriptor
deprecated
func (*ExportKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportKeyRequest.ProtoReflect.Descriptor instead.
func (*ExportKeyRequest) GetKeyID ¶
func (x *ExportKeyRequest) GetKeyID() []byte
func (*ExportKeyRequest) ProtoMessage ¶
func (*ExportKeyRequest) ProtoMessage()
func (*ExportKeyRequest) ProtoReflect ¶
func (x *ExportKeyRequest) ProtoReflect() protoreflect.Message
func (*ExportKeyRequest) Reset ¶
func (x *ExportKeyRequest) Reset()
func (*ExportKeyRequest) String ¶
func (x *ExportKeyRequest) String() string
type ExportKeyResponse ¶
type ExportKeyResponse struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ExportKeyResponse) Descriptor
deprecated
func (*ExportKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExportKeyResponse.ProtoReflect.Descriptor instead.
func (*ExportKeyResponse) GetData ¶
func (x *ExportKeyResponse) GetData() []byte
func (*ExportKeyResponse) ProtoMessage ¶
func (*ExportKeyResponse) ProtoMessage()
func (*ExportKeyResponse) ProtoReflect ¶
func (x *ExportKeyResponse) ProtoReflect() protoreflect.Message
func (*ExportKeyResponse) Reset ¶
func (x *ExportKeyResponse) Reset()
func (*ExportKeyResponse) String ¶
func (x *ExportKeyResponse) String() string
type ImportKeyRequest ¶
type ImportKeyRequest struct { KeyType string `protobuf:"bytes,1,opt,name=keyType,proto3" json:"keyType,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*ImportKeyRequest) Descriptor
deprecated
func (*ImportKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportKeyRequest.ProtoReflect.Descriptor instead.
func (*ImportKeyRequest) GetData ¶
func (x *ImportKeyRequest) GetData() []byte
func (*ImportKeyRequest) GetKeyType ¶
func (x *ImportKeyRequest) GetKeyType() string
func (*ImportKeyRequest) GetTags ¶
func (x *ImportKeyRequest) GetTags() []string
func (*ImportKeyRequest) ProtoMessage ¶
func (*ImportKeyRequest) ProtoMessage()
func (*ImportKeyRequest) ProtoReflect ¶
func (x *ImportKeyRequest) ProtoReflect() protoreflect.Message
func (*ImportKeyRequest) Reset ¶
func (x *ImportKeyRequest) Reset()
func (*ImportKeyRequest) String ¶
func (x *ImportKeyRequest) String() string
type ImportKeyResponse ¶
type ImportKeyResponse struct { KeyID []byte `protobuf:"bytes,1,opt,name=keyID,proto3" json:"keyID,omitempty"` // contains filtered or unexported fields }
func (*ImportKeyResponse) Descriptor
deprecated
func (*ImportKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportKeyResponse.ProtoReflect.Descriptor instead.
func (*ImportKeyResponse) GetKeyID ¶
func (x *ImportKeyResponse) GetKeyID() []byte
func (*ImportKeyResponse) ProtoMessage ¶
func (*ImportKeyResponse) ProtoMessage()
func (*ImportKeyResponse) ProtoReflect ¶
func (x *ImportKeyResponse) ProtoReflect() protoreflect.Message
func (*ImportKeyResponse) Reset ¶
func (x *ImportKeyResponse) Reset()
func (*ImportKeyResponse) String ¶
func (x *ImportKeyResponse) String() string
type KeystoreClient ¶
type KeystoreClient interface { Sign(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error) SignBatch(ctx context.Context, in *SignBatchRequest, opts ...grpc.CallOption) (*SignBatchResponse, error) Verify(ctx context.Context, in *VerifyRequest, opts ...grpc.CallOption) (*VerifyResponse, error) VerifyBatch(ctx context.Context, in *VerifyBatchRequest, opts ...grpc.CallOption) (*VerifyBatchResponse, error) ListKeys(ctx context.Context, in *ListKeysRequest, opts ...grpc.CallOption) (*ListKeysResponse, error) ImportKey(ctx context.Context, in *ImportKeyRequest, opts ...grpc.CallOption) (*ImportKeyResponse, error) ExportKey(ctx context.Context, in *ExportKeyRequest, opts ...grpc.CallOption) (*ExportKeyResponse, error) CreateKey(ctx context.Context, in *CreateKeyRequest, opts ...grpc.CallOption) (*CreateKeyResponse, error) DeleteKey(ctx context.Context, in *DeleteKeyRequest, opts ...grpc.CallOption) (*DeleteKeyResponse, error) AddTag(ctx context.Context, in *AddTagRequest, opts ...grpc.CallOption) (*AddTagResponse, error) RemoveTag(ctx context.Context, in *RemoveTagRequest, opts ...grpc.CallOption) (*RemoveTagResponse, error) ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error) RunUDF(ctx context.Context, in *RunUDFRequest, opts ...grpc.CallOption) (*RunUDFResponse, error) }
KeystoreClient is the client API for Keystore 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 NewKeystoreClient ¶
func NewKeystoreClient(cc grpc.ClientConnInterface) KeystoreClient
type KeystoreServer ¶
type KeystoreServer interface { Sign(context.Context, *SignRequest) (*SignResponse, error) SignBatch(context.Context, *SignBatchRequest) (*SignBatchResponse, error) Verify(context.Context, *VerifyRequest) (*VerifyResponse, error) VerifyBatch(context.Context, *VerifyBatchRequest) (*VerifyBatchResponse, error) ListKeys(context.Context, *ListKeysRequest) (*ListKeysResponse, error) ImportKey(context.Context, *ImportKeyRequest) (*ImportKeyResponse, error) ExportKey(context.Context, *ExportKeyRequest) (*ExportKeyResponse, error) CreateKey(context.Context, *CreateKeyRequest) (*CreateKeyResponse, error) DeleteKey(context.Context, *DeleteKeyRequest) (*DeleteKeyResponse, error) AddTag(context.Context, *AddTagRequest) (*AddTagResponse, error) RemoveTag(context.Context, *RemoveTagRequest) (*RemoveTagResponse, error) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error) RunUDF(context.Context, *RunUDFRequest) (*RunUDFResponse, error) // contains filtered or unexported methods }
KeystoreServer is the server API for Keystore service. All implementations must embed UnimplementedKeystoreServer for forward compatibility
type ListKeysRequest ¶
type ListKeysRequest struct { Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*ListKeysRequest) Descriptor
deprecated
func (*ListKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListKeysRequest.ProtoReflect.Descriptor instead.
func (*ListKeysRequest) GetTags ¶
func (x *ListKeysRequest) GetTags() []string
func (*ListKeysRequest) ProtoMessage ¶
func (*ListKeysRequest) ProtoMessage()
func (*ListKeysRequest) ProtoReflect ¶
func (x *ListKeysRequest) ProtoReflect() protoreflect.Message
func (*ListKeysRequest) Reset ¶
func (x *ListKeysRequest) Reset()
func (*ListKeysRequest) String ¶
func (x *ListKeysRequest) String() string
type ListKeysResponse ¶
type ListKeysResponse struct { KeyIDs [][]byte `protobuf:"bytes,1,rep,name=keyIDs,proto3" json:"keyIDs,omitempty"` // contains filtered or unexported fields }
func (*ListKeysResponse) Descriptor
deprecated
func (*ListKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListKeysResponse.ProtoReflect.Descriptor instead.
func (*ListKeysResponse) GetKeyIDs ¶
func (x *ListKeysResponse) GetKeyIDs() [][]byte
func (*ListKeysResponse) ProtoMessage ¶
func (*ListKeysResponse) ProtoMessage()
func (*ListKeysResponse) ProtoReflect ¶
func (x *ListKeysResponse) ProtoReflect() protoreflect.Message
func (*ListKeysResponse) Reset ¶
func (x *ListKeysResponse) Reset()
func (*ListKeysResponse) String ¶
func (x *ListKeysResponse) String() string
type ListTagsRequest ¶
type ListTagsRequest struct { KeyID []byte `protobuf:"bytes,1,opt,name=keyID,proto3" json:"keyID,omitempty"` // contains filtered or unexported fields }
func (*ListTagsRequest) Descriptor
deprecated
func (*ListTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.
func (*ListTagsRequest) GetKeyID ¶
func (x *ListTagsRequest) GetKeyID() []byte
func (*ListTagsRequest) ProtoMessage ¶
func (*ListTagsRequest) ProtoMessage()
func (*ListTagsRequest) ProtoReflect ¶
func (x *ListTagsRequest) ProtoReflect() protoreflect.Message
func (*ListTagsRequest) Reset ¶
func (x *ListTagsRequest) Reset()
func (*ListTagsRequest) String ¶
func (x *ListTagsRequest) String() string
type ListTagsResponse ¶
type ListTagsResponse struct { Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*ListTagsResponse) Descriptor
deprecated
func (*ListTagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.
func (*ListTagsResponse) GetTags ¶
func (x *ListTagsResponse) GetTags() []string
func (*ListTagsResponse) ProtoMessage ¶
func (*ListTagsResponse) ProtoMessage()
func (*ListTagsResponse) ProtoReflect ¶
func (x *ListTagsResponse) ProtoReflect() protoreflect.Message
func (*ListTagsResponse) Reset ¶
func (x *ListTagsResponse) Reset()
func (*ListTagsResponse) String ¶
func (x *ListTagsResponse) String() string
type RemoveTagRequest ¶
type RemoveTagRequest struct { KeyID []byte `protobuf:"bytes,1,opt,name=keyID,proto3" json:"keyID,omitempty"` Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*RemoveTagRequest) Descriptor
deprecated
func (*RemoveTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveTagRequest.ProtoReflect.Descriptor instead.
func (*RemoveTagRequest) GetKeyID ¶
func (x *RemoveTagRequest) GetKeyID() []byte
func (*RemoveTagRequest) GetTag ¶
func (x *RemoveTagRequest) GetTag() string
func (*RemoveTagRequest) ProtoMessage ¶
func (*RemoveTagRequest) ProtoMessage()
func (*RemoveTagRequest) ProtoReflect ¶
func (x *RemoveTagRequest) ProtoReflect() protoreflect.Message
func (*RemoveTagRequest) Reset ¶
func (x *RemoveTagRequest) Reset()
func (*RemoveTagRequest) String ¶
func (x *RemoveTagRequest) String() string
type RemoveTagResponse ¶
type RemoveTagResponse struct {
// contains filtered or unexported fields
}
func (*RemoveTagResponse) Descriptor
deprecated
func (*RemoveTagResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveTagResponse.ProtoReflect.Descriptor instead.
func (*RemoveTagResponse) ProtoMessage ¶
func (*RemoveTagResponse) ProtoMessage()
func (*RemoveTagResponse) ProtoReflect ¶
func (x *RemoveTagResponse) ProtoReflect() protoreflect.Message
func (*RemoveTagResponse) Reset ¶
func (x *RemoveTagResponse) Reset()
func (*RemoveTagResponse) String ¶
func (x *RemoveTagResponse) String() string
type RunUDFRequest ¶
type RunUDFRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` KeyID []byte `protobuf:"bytes,2,opt,name=keyID,proto3" json:"keyID,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*RunUDFRequest) Descriptor
deprecated
func (*RunUDFRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunUDFRequest.ProtoReflect.Descriptor instead.
func (*RunUDFRequest) GetData ¶
func (x *RunUDFRequest) GetData() []byte
func (*RunUDFRequest) GetKeyID ¶
func (x *RunUDFRequest) GetKeyID() []byte
func (*RunUDFRequest) GetName ¶
func (x *RunUDFRequest) GetName() string
func (*RunUDFRequest) ProtoMessage ¶
func (*RunUDFRequest) ProtoMessage()
func (*RunUDFRequest) ProtoReflect ¶
func (x *RunUDFRequest) ProtoReflect() protoreflect.Message
func (*RunUDFRequest) Reset ¶
func (x *RunUDFRequest) Reset()
func (*RunUDFRequest) String ¶
func (x *RunUDFRequest) String() string
type RunUDFResponse ¶
type RunUDFResponse struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*RunUDFResponse) Descriptor
deprecated
func (*RunUDFResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunUDFResponse.ProtoReflect.Descriptor instead.
func (*RunUDFResponse) GetData ¶
func (x *RunUDFResponse) GetData() []byte
func (*RunUDFResponse) ProtoMessage ¶
func (*RunUDFResponse) ProtoMessage()
func (*RunUDFResponse) ProtoReflect ¶
func (x *RunUDFResponse) ProtoReflect() protoreflect.Message
func (*RunUDFResponse) Reset ¶
func (x *RunUDFResponse) Reset()
func (*RunUDFResponse) String ¶
func (x *RunUDFResponse) String() string
type SignBatchRequest ¶
type SignBatchRequest struct { KeyID []byte `protobuf:"bytes,1,opt,name=keyID,proto3" json:"keyID,omitempty"` Data [][]byte `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*SignBatchRequest) Descriptor
deprecated
func (*SignBatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignBatchRequest.ProtoReflect.Descriptor instead.
func (*SignBatchRequest) GetData ¶
func (x *SignBatchRequest) GetData() [][]byte
func (*SignBatchRequest) GetKeyID ¶
func (x *SignBatchRequest) GetKeyID() []byte
func (*SignBatchRequest) ProtoMessage ¶
func (*SignBatchRequest) ProtoMessage()
func (*SignBatchRequest) ProtoReflect ¶
func (x *SignBatchRequest) ProtoReflect() protoreflect.Message
func (*SignBatchRequest) Reset ¶
func (x *SignBatchRequest) Reset()
func (*SignBatchRequest) String ¶
func (x *SignBatchRequest) String() string
type SignBatchResponse ¶
type SignBatchResponse struct { Data [][]byte `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*SignBatchResponse) Descriptor
deprecated
func (*SignBatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignBatchResponse.ProtoReflect.Descriptor instead.
func (*SignBatchResponse) GetData ¶
func (x *SignBatchResponse) GetData() [][]byte
func (*SignBatchResponse) ProtoMessage ¶
func (*SignBatchResponse) ProtoMessage()
func (*SignBatchResponse) ProtoReflect ¶
func (x *SignBatchResponse) ProtoReflect() protoreflect.Message
func (*SignBatchResponse) Reset ¶
func (x *SignBatchResponse) Reset()
func (*SignBatchResponse) String ¶
func (x *SignBatchResponse) String() string
type SignRequest ¶
type SignRequest struct { KeyID []byte `protobuf:"bytes,1,opt,name=keyID,proto3" json:"keyID,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*SignRequest) Descriptor
deprecated
func (*SignRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignRequest.ProtoReflect.Descriptor instead.
func (*SignRequest) GetData ¶
func (x *SignRequest) GetData() []byte
func (*SignRequest) GetKeyID ¶
func (x *SignRequest) GetKeyID() []byte
func (*SignRequest) ProtoMessage ¶
func (*SignRequest) ProtoMessage()
func (*SignRequest) ProtoReflect ¶
func (x *SignRequest) ProtoReflect() protoreflect.Message
func (*SignRequest) Reset ¶
func (x *SignRequest) Reset()
func (*SignRequest) String ¶
func (x *SignRequest) String() string
type SignResponse ¶
type SignResponse struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*SignResponse) Descriptor
deprecated
func (*SignResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignResponse.ProtoReflect.Descriptor instead.
func (*SignResponse) GetData ¶
func (x *SignResponse) GetData() []byte
func (*SignResponse) ProtoMessage ¶
func (*SignResponse) ProtoMessage()
func (*SignResponse) ProtoReflect ¶
func (x *SignResponse) ProtoReflect() protoreflect.Message
func (*SignResponse) Reset ¶
func (x *SignResponse) Reset()
func (*SignResponse) String ¶
func (x *SignResponse) String() string
type UnimplementedKeystoreServer ¶
type UnimplementedKeystoreServer struct { }
UnimplementedKeystoreServer must be embedded to have forward compatible implementations.
func (UnimplementedKeystoreServer) AddTag ¶
func (UnimplementedKeystoreServer) AddTag(context.Context, *AddTagRequest) (*AddTagResponse, error)
func (UnimplementedKeystoreServer) CreateKey ¶
func (UnimplementedKeystoreServer) CreateKey(context.Context, *CreateKeyRequest) (*CreateKeyResponse, error)
func (UnimplementedKeystoreServer) DeleteKey ¶
func (UnimplementedKeystoreServer) DeleteKey(context.Context, *DeleteKeyRequest) (*DeleteKeyResponse, error)
func (UnimplementedKeystoreServer) ExportKey ¶
func (UnimplementedKeystoreServer) ExportKey(context.Context, *ExportKeyRequest) (*ExportKeyResponse, error)
func (UnimplementedKeystoreServer) ImportKey ¶
func (UnimplementedKeystoreServer) ImportKey(context.Context, *ImportKeyRequest) (*ImportKeyResponse, error)
func (UnimplementedKeystoreServer) ListKeys ¶
func (UnimplementedKeystoreServer) ListKeys(context.Context, *ListKeysRequest) (*ListKeysResponse, error)
func (UnimplementedKeystoreServer) ListTags ¶
func (UnimplementedKeystoreServer) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)
func (UnimplementedKeystoreServer) RemoveTag ¶
func (UnimplementedKeystoreServer) RemoveTag(context.Context, *RemoveTagRequest) (*RemoveTagResponse, error)
func (UnimplementedKeystoreServer) RunUDF ¶
func (UnimplementedKeystoreServer) RunUDF(context.Context, *RunUDFRequest) (*RunUDFResponse, error)
func (UnimplementedKeystoreServer) Sign ¶
func (UnimplementedKeystoreServer) Sign(context.Context, *SignRequest) (*SignResponse, error)
func (UnimplementedKeystoreServer) SignBatch ¶
func (UnimplementedKeystoreServer) SignBatch(context.Context, *SignBatchRequest) (*SignBatchResponse, error)
func (UnimplementedKeystoreServer) Verify ¶
func (UnimplementedKeystoreServer) Verify(context.Context, *VerifyRequest) (*VerifyResponse, error)
func (UnimplementedKeystoreServer) VerifyBatch ¶
func (UnimplementedKeystoreServer) VerifyBatch(context.Context, *VerifyBatchRequest) (*VerifyBatchResponse, error)
type UnsafeKeystoreServer ¶
type UnsafeKeystoreServer interface {
// contains filtered or unexported methods
}
UnsafeKeystoreServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KeystoreServer will result in compilation errors.
type VerifyBatchRequest ¶
type VerifyBatchRequest struct { KeyID []byte `protobuf:"bytes,1,opt,name=keyID,proto3" json:"keyID,omitempty"` Data [][]byte `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*VerifyBatchRequest) Descriptor
deprecated
func (*VerifyBatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyBatchRequest.ProtoReflect.Descriptor instead.
func (*VerifyBatchRequest) GetData ¶
func (x *VerifyBatchRequest) GetData() [][]byte
func (*VerifyBatchRequest) GetKeyID ¶
func (x *VerifyBatchRequest) GetKeyID() []byte
func (*VerifyBatchRequest) ProtoMessage ¶
func (*VerifyBatchRequest) ProtoMessage()
func (*VerifyBatchRequest) ProtoReflect ¶
func (x *VerifyBatchRequest) ProtoReflect() protoreflect.Message
func (*VerifyBatchRequest) Reset ¶
func (x *VerifyBatchRequest) Reset()
func (*VerifyBatchRequest) String ¶
func (x *VerifyBatchRequest) String() string
type VerifyBatchResponse ¶
type VerifyBatchResponse struct { Valid []bool `protobuf:"varint,1,rep,packed,name=valid,proto3" json:"valid,omitempty"` // contains filtered or unexported fields }
func (*VerifyBatchResponse) Descriptor
deprecated
func (*VerifyBatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyBatchResponse.ProtoReflect.Descriptor instead.
func (*VerifyBatchResponse) GetValid ¶
func (x *VerifyBatchResponse) GetValid() []bool
func (*VerifyBatchResponse) ProtoMessage ¶
func (*VerifyBatchResponse) ProtoMessage()
func (*VerifyBatchResponse) ProtoReflect ¶
func (x *VerifyBatchResponse) ProtoReflect() protoreflect.Message
func (*VerifyBatchResponse) Reset ¶
func (x *VerifyBatchResponse) Reset()
func (*VerifyBatchResponse) String ¶
func (x *VerifyBatchResponse) String() string
type VerifyRequest ¶
type VerifyRequest struct { KeyID []byte `protobuf:"bytes,1,opt,name=keyID,proto3" json:"keyID,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*VerifyRequest) Descriptor
deprecated
func (*VerifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyRequest.ProtoReflect.Descriptor instead.
func (*VerifyRequest) GetData ¶
func (x *VerifyRequest) GetData() []byte
func (*VerifyRequest) GetKeyID ¶
func (x *VerifyRequest) GetKeyID() []byte
func (*VerifyRequest) ProtoMessage ¶
func (*VerifyRequest) ProtoMessage()
func (*VerifyRequest) ProtoReflect ¶
func (x *VerifyRequest) ProtoReflect() protoreflect.Message
func (*VerifyRequest) Reset ¶
func (x *VerifyRequest) Reset()
func (*VerifyRequest) String ¶
func (x *VerifyRequest) String() string
type VerifyResponse ¶
type VerifyResponse struct { Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` // contains filtered or unexported fields }
func (*VerifyResponse) Descriptor
deprecated
func (*VerifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyResponse.ProtoReflect.Descriptor instead.
func (*VerifyResponse) GetValid ¶
func (x *VerifyResponse) GetValid() bool
func (*VerifyResponse) ProtoMessage ¶
func (*VerifyResponse) ProtoMessage()
func (*VerifyResponse) ProtoReflect ¶
func (x *VerifyResponse) ProtoReflect() protoreflect.Message
func (*VerifyResponse) Reset ¶
func (x *VerifyResponse) Reset()
func (*VerifyResponse) String ¶
func (x *VerifyResponse) String() string