Documentation
¶
Index ¶
- Variables
- func RegisterKeyServiceServer(s grpc.ServiceRegistrar, srv KeyServiceServer)
- type Key
- func (*Key) Descriptor() ([]byte, []int)deprecated
- func (x *Key) GetCreatedAt() *timestamppb.Timestamp
- func (x *Key) GetExpiresAt() *timestamppb.Timestamp
- func (x *Key) GetExternalId() string
- func (x *Key) GetId() string
- func (x *Key) GetKid() string
- func (x *Key) GetPrivateKey() string
- func (x *Key) GetPublicKey() string
- func (x *Key) GetRotateCron() string
- func (x *Key) GetRotatedFromId() string
- func (x *Key) GetShouldRotate() bool
- func (x *Key) GetUpdatedAt() *timestamppb.Timestamp
- func (*Key) ProtoMessage()
- func (x *Key) ProtoReflect() protoreflect.Message
- func (x *Key) Reset()
- func (x *Key) String() string
- type KeyServiceClient
- type KeyServiceCreateRequest
- func (*KeyServiceCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceCreateRequest) GetBits() int32
- func (x *KeyServiceCreateRequest) GetId() string
- func (x *KeyServiceCreateRequest) GetRotateCron() string
- func (x *KeyServiceCreateRequest) GetShouldRotate() bool
- func (x *KeyServiceCreateRequest) GetShowPrivateKey() bool
- func (*KeyServiceCreateRequest) ProtoMessage()
- func (x *KeyServiceCreateRequest) ProtoReflect() protoreflect.Message
- func (x *KeyServiceCreateRequest) Reset()
- func (x *KeyServiceCreateRequest) String() string
- type KeyServiceCreateResponse
- func (*KeyServiceCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceCreateResponse) GetKey() *Key
- func (*KeyServiceCreateResponse) ProtoMessage()
- func (x *KeyServiceCreateResponse) ProtoReflect() protoreflect.Message
- func (x *KeyServiceCreateResponse) Reset()
- func (x *KeyServiceCreateResponse) String() string
- type KeyServiceCryptRequest
- func (*KeyServiceCryptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceCryptRequest) GetId() string
- func (x *KeyServiceCryptRequest) GetMessage() string
- func (*KeyServiceCryptRequest) ProtoMessage()
- func (x *KeyServiceCryptRequest) ProtoReflect() protoreflect.Message
- func (x *KeyServiceCryptRequest) Reset()
- func (x *KeyServiceCryptRequest) String() string
- type KeyServiceCryptResponse
- func (*KeyServiceCryptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceCryptResponse) GetCiphertext() string
- func (*KeyServiceCryptResponse) ProtoMessage()
- func (x *KeyServiceCryptResponse) ProtoReflect() protoreflect.Message
- func (x *KeyServiceCryptResponse) Reset()
- func (x *KeyServiceCryptResponse) String() string
- type KeyServiceDecryptRequest
- func (*KeyServiceDecryptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceDecryptRequest) GetCiphertext() string
- func (x *KeyServiceDecryptRequest) GetId() string
- func (*KeyServiceDecryptRequest) ProtoMessage()
- func (x *KeyServiceDecryptRequest) ProtoReflect() protoreflect.Message
- func (x *KeyServiceDecryptRequest) Reset()
- func (x *KeyServiceDecryptRequest) String() string
- type KeyServiceDecryptResponse
- func (*KeyServiceDecryptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceDecryptResponse) GetMessage() string
- func (*KeyServiceDecryptResponse) ProtoMessage()
- func (x *KeyServiceDecryptResponse) ProtoReflect() protoreflect.Message
- func (x *KeyServiceDecryptResponse) Reset()
- func (x *KeyServiceDecryptResponse) String() string
- type KeyServiceDeleteRequest
- func (*KeyServiceDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceDeleteRequest) GetId() string
- func (*KeyServiceDeleteRequest) ProtoMessage()
- func (x *KeyServiceDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *KeyServiceDeleteRequest) Reset()
- func (x *KeyServiceDeleteRequest) String() string
- type KeyServiceDeleteResponse
- type KeyServiceGetOrCreateRequest
- func (*KeyServiceGetOrCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceGetOrCreateRequest) GetBits() int32
- func (x *KeyServiceGetOrCreateRequest) GetId() string
- func (x *KeyServiceGetOrCreateRequest) GetRotateCron() string
- func (x *KeyServiceGetOrCreateRequest) GetShouldRotate() bool
- func (x *KeyServiceGetOrCreateRequest) GetShowPrivateKey() bool
- func (*KeyServiceGetOrCreateRequest) ProtoMessage()
- func (x *KeyServiceGetOrCreateRequest) ProtoReflect() protoreflect.Message
- func (x *KeyServiceGetOrCreateRequest) Reset()
- func (x *KeyServiceGetOrCreateRequest) String() string
- type KeyServiceGetOrCreateResponse
- func (*KeyServiceGetOrCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceGetOrCreateResponse) GetKey() *Key
- func (*KeyServiceGetOrCreateResponse) ProtoMessage()
- func (x *KeyServiceGetOrCreateResponse) ProtoReflect() protoreflect.Message
- func (x *KeyServiceGetOrCreateResponse) Reset()
- func (x *KeyServiceGetOrCreateResponse) String() string
- type KeyServiceGetRequest
- func (*KeyServiceGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceGetRequest) GetId() string
- func (x *KeyServiceGetRequest) GetShowPrivateKey() bool
- func (*KeyServiceGetRequest) ProtoMessage()
- func (x *KeyServiceGetRequest) ProtoReflect() protoreflect.Message
- func (x *KeyServiceGetRequest) Reset()
- func (x *KeyServiceGetRequest) String() string
- type KeyServiceGetResponse
- func (*KeyServiceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceGetResponse) GetKey() *Key
- func (*KeyServiceGetResponse) ProtoMessage()
- func (x *KeyServiceGetResponse) ProtoReflect() protoreflect.Message
- func (x *KeyServiceGetResponse) Reset()
- func (x *KeyServiceGetResponse) String() string
- type KeyServiceJWKRequest
- func (*KeyServiceJWKRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceJWKRequest) GetId() string
- func (*KeyServiceJWKRequest) ProtoMessage()
- func (x *KeyServiceJWKRequest) ProtoReflect() protoreflect.Message
- func (x *KeyServiceJWKRequest) Reset()
- func (x *KeyServiceJWKRequest) String() string
- type KeyServiceJWKResponse
- func (*KeyServiceJWKResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceJWKResponse) GetJwk() string
- func (*KeyServiceJWKResponse) ProtoMessage()
- func (x *KeyServiceJWKResponse) ProtoReflect() protoreflect.Message
- func (x *KeyServiceJWKResponse) Reset()
- func (x *KeyServiceJWKResponse) String() string
- type KeyServiceJWTSignRequest
- func (*KeyServiceJWTSignRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceJWTSignRequest) GetId() string
- func (x *KeyServiceJWTSignRequest) GetMessage() string
- func (*KeyServiceJWTSignRequest) ProtoMessage()
- func (x *KeyServiceJWTSignRequest) ProtoReflect() protoreflect.Message
- func (x *KeyServiceJWTSignRequest) Reset()
- func (x *KeyServiceJWTSignRequest) String() string
- type KeyServiceJWTSignResponse
- func (*KeyServiceJWTSignResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceJWTSignResponse) GetToken() string
- func (*KeyServiceJWTSignResponse) ProtoMessage()
- func (x *KeyServiceJWTSignResponse) ProtoReflect() protoreflect.Message
- func (x *KeyServiceJWTSignResponse) Reset()
- func (x *KeyServiceJWTSignResponse) String() string
- type KeyServiceJWTVerifyRequest
- func (*KeyServiceJWTVerifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceJWTVerifyRequest) GetId() string
- func (x *KeyServiceJWTVerifyRequest) GetToken() string
- func (*KeyServiceJWTVerifyRequest) ProtoMessage()
- func (x *KeyServiceJWTVerifyRequest) ProtoReflect() protoreflect.Message
- func (x *KeyServiceJWTVerifyRequest) Reset()
- func (x *KeyServiceJWTVerifyRequest) String() string
- type KeyServiceJWTVerifyResponse
- func (*KeyServiceJWTVerifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceJWTVerifyResponse) GetValid() bool
- func (*KeyServiceJWTVerifyResponse) ProtoMessage()
- func (x *KeyServiceJWTVerifyResponse) ProtoReflect() protoreflect.Message
- func (x *KeyServiceJWTVerifyResponse) Reset()
- func (x *KeyServiceJWTVerifyResponse) String() string
- type KeyServiceListRequest
- func (*KeyServiceListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceListRequest) GetFirstId() string
- func (x *KeyServiceListRequest) GetShowPrivateKey() bool
- func (*KeyServiceListRequest) ProtoMessage()
- func (x *KeyServiceListRequest) ProtoReflect() protoreflect.Message
- func (x *KeyServiceListRequest) Reset()
- func (x *KeyServiceListRequest) String() string
- type KeyServiceListResponse
- func (*KeyServiceListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceListResponse) GetKeys() []*Key
- func (x *KeyServiceListResponse) GetLastId() string
- func (*KeyServiceListResponse) ProtoMessage()
- func (x *KeyServiceListResponse) ProtoReflect() protoreflect.Message
- func (x *KeyServiceListResponse) Reset()
- func (x *KeyServiceListResponse) String() string
- type KeyServiceRotateRequest
- func (*KeyServiceRotateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceRotateRequest) GetId() string
- func (x *KeyServiceRotateRequest) GetShowPrivateKey() bool
- func (*KeyServiceRotateRequest) ProtoMessage()
- func (x *KeyServiceRotateRequest) ProtoReflect() protoreflect.Message
- func (x *KeyServiceRotateRequest) Reset()
- func (x *KeyServiceRotateRequest) String() string
- type KeyServiceRotateResponse
- func (*KeyServiceRotateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceRotateResponse) GetKey() *Key
- func (*KeyServiceRotateResponse) ProtoMessage()
- func (x *KeyServiceRotateResponse) ProtoReflect() protoreflect.Message
- func (x *KeyServiceRotateResponse) Reset()
- func (x *KeyServiceRotateResponse) String() string
- type KeyServiceServer
- type KeyServiceSignRequest
- func (*KeyServiceSignRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceSignRequest) GetId() string
- func (x *KeyServiceSignRequest) GetMessage() string
- func (*KeyServiceSignRequest) ProtoMessage()
- func (x *KeyServiceSignRequest) ProtoReflect() protoreflect.Message
- func (x *KeyServiceSignRequest) Reset()
- func (x *KeyServiceSignRequest) String() string
- type KeyServiceSignResponse
- func (*KeyServiceSignResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceSignResponse) GetKid() string
- func (x *KeyServiceSignResponse) GetSignature() string
- func (*KeyServiceSignResponse) ProtoMessage()
- func (x *KeyServiceSignResponse) ProtoReflect() protoreflect.Message
- func (x *KeyServiceSignResponse) Reset()
- func (x *KeyServiceSignResponse) String() string
- type KeyServiceVerifyRequest
- func (*KeyServiceVerifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceVerifyRequest) GetId() string
- func (x *KeyServiceVerifyRequest) GetMessage() string
- func (x *KeyServiceVerifyRequest) GetSignature() string
- func (*KeyServiceVerifyRequest) ProtoMessage()
- func (x *KeyServiceVerifyRequest) ProtoReflect() protoreflect.Message
- func (x *KeyServiceVerifyRequest) Reset()
- func (x *KeyServiceVerifyRequest) String() string
- type KeyServiceVerifyResponse
- func (*KeyServiceVerifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeyServiceVerifyResponse) GetValid() bool
- func (*KeyServiceVerifyResponse) ProtoMessage()
- func (x *KeyServiceVerifyResponse) ProtoReflect() protoreflect.Message
- func (x *KeyServiceVerifyResponse) Reset()
- func (x *KeyServiceVerifyResponse) String() string
- type UnimplementedKeyServiceServer
- func (UnimplementedKeyServiceServer) Create(context.Context, *KeyServiceCreateRequest) (*KeyServiceCreateResponse, error)
- func (UnimplementedKeyServiceServer) Crypt(context.Context, *KeyServiceCryptRequest) (*KeyServiceCryptResponse, error)
- func (UnimplementedKeyServiceServer) Decrypt(context.Context, *KeyServiceDecryptRequest) (*KeyServiceDecryptResponse, error)
- func (UnimplementedKeyServiceServer) Delete(context.Context, *KeyServiceDeleteRequest) (*KeyServiceDeleteResponse, error)
- func (UnimplementedKeyServiceServer) Get(context.Context, *KeyServiceGetRequest) (*KeyServiceGetResponse, error)
- func (UnimplementedKeyServiceServer) GetOrCreate(context.Context, *KeyServiceGetOrCreateRequest) (*KeyServiceGetOrCreateResponse, error)
- func (UnimplementedKeyServiceServer) JWK(context.Context, *KeyServiceJWKRequest) (*KeyServiceJWKResponse, error)
- func (UnimplementedKeyServiceServer) JWTSign(context.Context, *KeyServiceJWTSignRequest) (*KeyServiceJWTSignResponse, error)
- func (UnimplementedKeyServiceServer) JWTVerify(context.Context, *KeyServiceJWTVerifyRequest) (*KeyServiceJWTVerifyResponse, error)
- func (UnimplementedKeyServiceServer) List(context.Context, *KeyServiceListRequest) (*KeyServiceListResponse, error)
- func (UnimplementedKeyServiceServer) Rotate(context.Context, *KeyServiceRotateRequest) (*KeyServiceRotateResponse, error)
- func (UnimplementedKeyServiceServer) Sign(context.Context, *KeyServiceSignRequest) (*KeyServiceSignResponse, error)
- func (UnimplementedKeyServiceServer) Verify(context.Context, *KeyServiceVerifyRequest) (*KeyServiceVerifyResponse, error)
- type UnsafeKeyServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_models_key_proto protoreflect.FileDescriptor
var KeyService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "models.KeyService", HandlerType: (*KeyServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _KeyService_Create_Handler, }, { MethodName: "Get", Handler: _KeyService_Get_Handler, }, { MethodName: "GetOrCreate", Handler: _KeyService_GetOrCreate_Handler, }, { MethodName: "List", Handler: _KeyService_List_Handler, }, { MethodName: "Sign", Handler: _KeyService_Sign_Handler, }, { MethodName: "Verify", Handler: _KeyService_Verify_Handler, }, { MethodName: "Crypt", Handler: _KeyService_Crypt_Handler, }, { MethodName: "Decrypt", Handler: _KeyService_Decrypt_Handler, }, { MethodName: "Rotate", Handler: _KeyService_Rotate_Handler, }, { MethodName: "Delete", Handler: _KeyService_Delete_Handler, }, { MethodName: "JWK", Handler: _KeyService_JWK_Handler, }, { MethodName: "JWTSign", Handler: _KeyService_JWTSign_Handler, }, { MethodName: "JWTVerify", Handler: _KeyService_JWTVerify_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "models/key.proto", }
KeyService_ServiceDesc is the grpc.ServiceDesc for KeyService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterKeyServiceServer ¶
func RegisterKeyServiceServer(s grpc.ServiceRegistrar, srv KeyServiceServer)
Types ¶
type Key ¶
type Key struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ExternalId *string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3,oneof" json:"external_id,omitempty"` PrivateKey string `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` PublicKey string `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` Kid string `protobuf:"bytes,5,opt,name=kid,proto3" json:"kid,omitempty"` ShouldRotate *bool `protobuf:"varint,6,opt,name=should_rotate,json=shouldRotate,proto3,oneof" json:"should_rotate,omitempty"` RotatedFromId *string `protobuf:"bytes,7,opt,name=rotated_from_id,json=rotatedFromId,proto3,oneof" json:"rotated_from_id,omitempty"` RotateCron *string `protobuf:"bytes,8,opt,name=rotate_cron,json=rotateCron,proto3,oneof" json:"rotate_cron,omitempty"` ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*Key) Descriptor
deprecated
func (*Key) GetCreatedAt ¶
func (x *Key) GetCreatedAt() *timestamppb.Timestamp
func (*Key) GetExpiresAt ¶
func (x *Key) GetExpiresAt() *timestamppb.Timestamp
func (*Key) GetExternalId ¶
func (*Key) GetPrivateKey ¶
func (*Key) GetPublicKey ¶
func (*Key) GetRotateCron ¶
func (*Key) GetRotatedFromId ¶
func (*Key) GetShouldRotate ¶
func (*Key) GetUpdatedAt ¶
func (x *Key) GetUpdatedAt() *timestamppb.Timestamp
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
func (*Key) ProtoReflect ¶
func (x *Key) ProtoReflect() protoreflect.Message
type KeyServiceClient ¶
type KeyServiceClient interface { Create(ctx context.Context, in *KeyServiceCreateRequest, opts ...grpc.CallOption) (*KeyServiceCreateResponse, error) Get(ctx context.Context, in *KeyServiceGetRequest, opts ...grpc.CallOption) (*KeyServiceGetResponse, error) GetOrCreate(ctx context.Context, in *KeyServiceGetOrCreateRequest, opts ...grpc.CallOption) (*KeyServiceGetOrCreateResponse, error) List(ctx context.Context, in *KeyServiceListRequest, opts ...grpc.CallOption) (*KeyServiceListResponse, error) Sign(ctx context.Context, in *KeyServiceSignRequest, opts ...grpc.CallOption) (*KeyServiceSignResponse, error) Verify(ctx context.Context, in *KeyServiceVerifyRequest, opts ...grpc.CallOption) (*KeyServiceVerifyResponse, error) Crypt(ctx context.Context, in *KeyServiceCryptRequest, opts ...grpc.CallOption) (*KeyServiceCryptResponse, error) Decrypt(ctx context.Context, in *KeyServiceDecryptRequest, opts ...grpc.CallOption) (*KeyServiceDecryptResponse, error) Rotate(ctx context.Context, in *KeyServiceRotateRequest, opts ...grpc.CallOption) (*KeyServiceRotateResponse, error) Delete(ctx context.Context, in *KeyServiceDeleteRequest, opts ...grpc.CallOption) (*KeyServiceDeleteResponse, error) JWK(ctx context.Context, in *KeyServiceJWKRequest, opts ...grpc.CallOption) (*KeyServiceJWKResponse, error) JWTSign(ctx context.Context, in *KeyServiceJWTSignRequest, opts ...grpc.CallOption) (*KeyServiceJWTSignResponse, error) JWTVerify(ctx context.Context, in *KeyServiceJWTVerifyRequest, opts ...grpc.CallOption) (*KeyServiceJWTVerifyResponse, error) }
KeyServiceClient is the client API for KeyService 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 NewKeyServiceClient ¶
func NewKeyServiceClient(cc grpc.ClientConnInterface) KeyServiceClient
type KeyServiceCreateRequest ¶
type KeyServiceCreateRequest struct { Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"` ShowPrivateKey *bool `protobuf:"varint,2,opt,name=show_private_key,json=showPrivateKey,proto3,oneof" json:"show_private_key,omitempty"` ShouldRotate *bool `protobuf:"varint,3,opt,name=should_rotate,json=shouldRotate,proto3,oneof" json:"should_rotate,omitempty"` RotateCron *string `protobuf:"bytes,4,opt,name=rotate_cron,json=rotateCron,proto3,oneof" json:"rotate_cron,omitempty"` Bits *int32 `protobuf:"varint,5,opt,name=bits,proto3,oneof" json:"bits,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceCreateRequest) Descriptor
deprecated
func (*KeyServiceCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceCreateRequest.ProtoReflect.Descriptor instead.
func (*KeyServiceCreateRequest) GetBits ¶
func (x *KeyServiceCreateRequest) GetBits() int32
func (*KeyServiceCreateRequest) GetId ¶
func (x *KeyServiceCreateRequest) GetId() string
func (*KeyServiceCreateRequest) GetRotateCron ¶
func (x *KeyServiceCreateRequest) GetRotateCron() string
func (*KeyServiceCreateRequest) GetShouldRotate ¶
func (x *KeyServiceCreateRequest) GetShouldRotate() bool
func (*KeyServiceCreateRequest) GetShowPrivateKey ¶
func (x *KeyServiceCreateRequest) GetShowPrivateKey() bool
func (*KeyServiceCreateRequest) ProtoMessage ¶
func (*KeyServiceCreateRequest) ProtoMessage()
func (*KeyServiceCreateRequest) ProtoReflect ¶
func (x *KeyServiceCreateRequest) ProtoReflect() protoreflect.Message
func (*KeyServiceCreateRequest) Reset ¶
func (x *KeyServiceCreateRequest) Reset()
func (*KeyServiceCreateRequest) String ¶
func (x *KeyServiceCreateRequest) String() string
type KeyServiceCreateResponse ¶
type KeyServiceCreateResponse struct { Key *Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceCreateResponse) Descriptor
deprecated
func (*KeyServiceCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceCreateResponse.ProtoReflect.Descriptor instead.
func (*KeyServiceCreateResponse) GetKey ¶
func (x *KeyServiceCreateResponse) GetKey() *Key
func (*KeyServiceCreateResponse) ProtoMessage ¶
func (*KeyServiceCreateResponse) ProtoMessage()
func (*KeyServiceCreateResponse) ProtoReflect ¶
func (x *KeyServiceCreateResponse) ProtoReflect() protoreflect.Message
func (*KeyServiceCreateResponse) Reset ¶
func (x *KeyServiceCreateResponse) Reset()
func (*KeyServiceCreateResponse) String ¶
func (x *KeyServiceCreateResponse) String() string
type KeyServiceCryptRequest ¶
type KeyServiceCryptRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceCryptRequest) Descriptor
deprecated
func (*KeyServiceCryptRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceCryptRequest.ProtoReflect.Descriptor instead.
func (*KeyServiceCryptRequest) GetId ¶
func (x *KeyServiceCryptRequest) GetId() string
func (*KeyServiceCryptRequest) GetMessage ¶
func (x *KeyServiceCryptRequest) GetMessage() string
func (*KeyServiceCryptRequest) ProtoMessage ¶
func (*KeyServiceCryptRequest) ProtoMessage()
func (*KeyServiceCryptRequest) ProtoReflect ¶
func (x *KeyServiceCryptRequest) ProtoReflect() protoreflect.Message
func (*KeyServiceCryptRequest) Reset ¶
func (x *KeyServiceCryptRequest) Reset()
func (*KeyServiceCryptRequest) String ¶
func (x *KeyServiceCryptRequest) String() string
type KeyServiceCryptResponse ¶
type KeyServiceCryptResponse struct { Ciphertext string `protobuf:"bytes,1,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceCryptResponse) Descriptor
deprecated
func (*KeyServiceCryptResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceCryptResponse.ProtoReflect.Descriptor instead.
func (*KeyServiceCryptResponse) GetCiphertext ¶
func (x *KeyServiceCryptResponse) GetCiphertext() string
func (*KeyServiceCryptResponse) ProtoMessage ¶
func (*KeyServiceCryptResponse) ProtoMessage()
func (*KeyServiceCryptResponse) ProtoReflect ¶
func (x *KeyServiceCryptResponse) ProtoReflect() protoreflect.Message
func (*KeyServiceCryptResponse) Reset ¶
func (x *KeyServiceCryptResponse) Reset()
func (*KeyServiceCryptResponse) String ¶
func (x *KeyServiceCryptResponse) String() string
type KeyServiceDecryptRequest ¶
type KeyServiceDecryptRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Ciphertext string `protobuf:"bytes,2,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceDecryptRequest) Descriptor
deprecated
func (*KeyServiceDecryptRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceDecryptRequest.ProtoReflect.Descriptor instead.
func (*KeyServiceDecryptRequest) GetCiphertext ¶
func (x *KeyServiceDecryptRequest) GetCiphertext() string
func (*KeyServiceDecryptRequest) GetId ¶
func (x *KeyServiceDecryptRequest) GetId() string
func (*KeyServiceDecryptRequest) ProtoMessage ¶
func (*KeyServiceDecryptRequest) ProtoMessage()
func (*KeyServiceDecryptRequest) ProtoReflect ¶
func (x *KeyServiceDecryptRequest) ProtoReflect() protoreflect.Message
func (*KeyServiceDecryptRequest) Reset ¶
func (x *KeyServiceDecryptRequest) Reset()
func (*KeyServiceDecryptRequest) String ¶
func (x *KeyServiceDecryptRequest) String() string
type KeyServiceDecryptResponse ¶
type KeyServiceDecryptResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceDecryptResponse) Descriptor
deprecated
func (*KeyServiceDecryptResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceDecryptResponse.ProtoReflect.Descriptor instead.
func (*KeyServiceDecryptResponse) GetMessage ¶
func (x *KeyServiceDecryptResponse) GetMessage() string
func (*KeyServiceDecryptResponse) ProtoMessage ¶
func (*KeyServiceDecryptResponse) ProtoMessage()
func (*KeyServiceDecryptResponse) ProtoReflect ¶
func (x *KeyServiceDecryptResponse) ProtoReflect() protoreflect.Message
func (*KeyServiceDecryptResponse) Reset ¶
func (x *KeyServiceDecryptResponse) Reset()
func (*KeyServiceDecryptResponse) String ¶
func (x *KeyServiceDecryptResponse) String() string
type KeyServiceDeleteRequest ¶
type KeyServiceDeleteRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceDeleteRequest) Descriptor
deprecated
func (*KeyServiceDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceDeleteRequest.ProtoReflect.Descriptor instead.
func (*KeyServiceDeleteRequest) GetId ¶
func (x *KeyServiceDeleteRequest) GetId() string
func (*KeyServiceDeleteRequest) ProtoMessage ¶
func (*KeyServiceDeleteRequest) ProtoMessage()
func (*KeyServiceDeleteRequest) ProtoReflect ¶
func (x *KeyServiceDeleteRequest) ProtoReflect() protoreflect.Message
func (*KeyServiceDeleteRequest) Reset ¶
func (x *KeyServiceDeleteRequest) Reset()
func (*KeyServiceDeleteRequest) String ¶
func (x *KeyServiceDeleteRequest) String() string
type KeyServiceDeleteResponse ¶
type KeyServiceDeleteResponse struct {
// contains filtered or unexported fields
}
func (*KeyServiceDeleteResponse) Descriptor
deprecated
func (*KeyServiceDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceDeleteResponse.ProtoReflect.Descriptor instead.
func (*KeyServiceDeleteResponse) ProtoMessage ¶
func (*KeyServiceDeleteResponse) ProtoMessage()
func (*KeyServiceDeleteResponse) ProtoReflect ¶
func (x *KeyServiceDeleteResponse) ProtoReflect() protoreflect.Message
func (*KeyServiceDeleteResponse) Reset ¶
func (x *KeyServiceDeleteResponse) Reset()
func (*KeyServiceDeleteResponse) String ¶
func (x *KeyServiceDeleteResponse) String() string
type KeyServiceGetOrCreateRequest ¶
type KeyServiceGetOrCreateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ShowPrivateKey *bool `protobuf:"varint,2,opt,name=show_private_key,json=showPrivateKey,proto3,oneof" json:"show_private_key,omitempty"` ShouldRotate *bool `protobuf:"varint,3,opt,name=should_rotate,json=shouldRotate,proto3,oneof" json:"should_rotate,omitempty"` RotateCron *string `protobuf:"bytes,4,opt,name=rotate_cron,json=rotateCron,proto3,oneof" json:"rotate_cron,omitempty"` Bits *int32 `protobuf:"varint,5,opt,name=bits,proto3,oneof" json:"bits,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceGetOrCreateRequest) Descriptor
deprecated
func (*KeyServiceGetOrCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceGetOrCreateRequest.ProtoReflect.Descriptor instead.
func (*KeyServiceGetOrCreateRequest) GetBits ¶
func (x *KeyServiceGetOrCreateRequest) GetBits() int32
func (*KeyServiceGetOrCreateRequest) GetId ¶
func (x *KeyServiceGetOrCreateRequest) GetId() string
func (*KeyServiceGetOrCreateRequest) GetRotateCron ¶
func (x *KeyServiceGetOrCreateRequest) GetRotateCron() string
func (*KeyServiceGetOrCreateRequest) GetShouldRotate ¶
func (x *KeyServiceGetOrCreateRequest) GetShouldRotate() bool
func (*KeyServiceGetOrCreateRequest) GetShowPrivateKey ¶
func (x *KeyServiceGetOrCreateRequest) GetShowPrivateKey() bool
func (*KeyServiceGetOrCreateRequest) ProtoMessage ¶
func (*KeyServiceGetOrCreateRequest) ProtoMessage()
func (*KeyServiceGetOrCreateRequest) ProtoReflect ¶
func (x *KeyServiceGetOrCreateRequest) ProtoReflect() protoreflect.Message
func (*KeyServiceGetOrCreateRequest) Reset ¶
func (x *KeyServiceGetOrCreateRequest) Reset()
func (*KeyServiceGetOrCreateRequest) String ¶
func (x *KeyServiceGetOrCreateRequest) String() string
type KeyServiceGetOrCreateResponse ¶
type KeyServiceGetOrCreateResponse struct { Key *Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceGetOrCreateResponse) Descriptor
deprecated
func (*KeyServiceGetOrCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceGetOrCreateResponse.ProtoReflect.Descriptor instead.
func (*KeyServiceGetOrCreateResponse) GetKey ¶
func (x *KeyServiceGetOrCreateResponse) GetKey() *Key
func (*KeyServiceGetOrCreateResponse) ProtoMessage ¶
func (*KeyServiceGetOrCreateResponse) ProtoMessage()
func (*KeyServiceGetOrCreateResponse) ProtoReflect ¶
func (x *KeyServiceGetOrCreateResponse) ProtoReflect() protoreflect.Message
func (*KeyServiceGetOrCreateResponse) Reset ¶
func (x *KeyServiceGetOrCreateResponse) Reset()
func (*KeyServiceGetOrCreateResponse) String ¶
func (x *KeyServiceGetOrCreateResponse) String() string
type KeyServiceGetRequest ¶
type KeyServiceGetRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ShowPrivateKey *bool `protobuf:"varint,2,opt,name=show_private_key,json=showPrivateKey,proto3,oneof" json:"show_private_key,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceGetRequest) Descriptor
deprecated
func (*KeyServiceGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceGetRequest.ProtoReflect.Descriptor instead.
func (*KeyServiceGetRequest) GetId ¶
func (x *KeyServiceGetRequest) GetId() string
func (*KeyServiceGetRequest) GetShowPrivateKey ¶
func (x *KeyServiceGetRequest) GetShowPrivateKey() bool
func (*KeyServiceGetRequest) ProtoMessage ¶
func (*KeyServiceGetRequest) ProtoMessage()
func (*KeyServiceGetRequest) ProtoReflect ¶
func (x *KeyServiceGetRequest) ProtoReflect() protoreflect.Message
func (*KeyServiceGetRequest) Reset ¶
func (x *KeyServiceGetRequest) Reset()
func (*KeyServiceGetRequest) String ¶
func (x *KeyServiceGetRequest) String() string
type KeyServiceGetResponse ¶
type KeyServiceGetResponse struct { Key *Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceGetResponse) Descriptor
deprecated
func (*KeyServiceGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceGetResponse.ProtoReflect.Descriptor instead.
func (*KeyServiceGetResponse) GetKey ¶
func (x *KeyServiceGetResponse) GetKey() *Key
func (*KeyServiceGetResponse) ProtoMessage ¶
func (*KeyServiceGetResponse) ProtoMessage()
func (*KeyServiceGetResponse) ProtoReflect ¶
func (x *KeyServiceGetResponse) ProtoReflect() protoreflect.Message
func (*KeyServiceGetResponse) Reset ¶
func (x *KeyServiceGetResponse) Reset()
func (*KeyServiceGetResponse) String ¶
func (x *KeyServiceGetResponse) String() string
type KeyServiceJWKRequest ¶
type KeyServiceJWKRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceJWKRequest) Descriptor
deprecated
func (*KeyServiceJWKRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceJWKRequest.ProtoReflect.Descriptor instead.
func (*KeyServiceJWKRequest) GetId ¶
func (x *KeyServiceJWKRequest) GetId() string
func (*KeyServiceJWKRequest) ProtoMessage ¶
func (*KeyServiceJWKRequest) ProtoMessage()
func (*KeyServiceJWKRequest) ProtoReflect ¶
func (x *KeyServiceJWKRequest) ProtoReflect() protoreflect.Message
func (*KeyServiceJWKRequest) Reset ¶
func (x *KeyServiceJWKRequest) Reset()
func (*KeyServiceJWKRequest) String ¶
func (x *KeyServiceJWKRequest) String() string
type KeyServiceJWKResponse ¶
type KeyServiceJWKResponse struct { Jwk string `protobuf:"bytes,1,opt,name=jwk,proto3" json:"jwk,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceJWKResponse) Descriptor
deprecated
func (*KeyServiceJWKResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceJWKResponse.ProtoReflect.Descriptor instead.
func (*KeyServiceJWKResponse) GetJwk ¶
func (x *KeyServiceJWKResponse) GetJwk() string
func (*KeyServiceJWKResponse) ProtoMessage ¶
func (*KeyServiceJWKResponse) ProtoMessage()
func (*KeyServiceJWKResponse) ProtoReflect ¶
func (x *KeyServiceJWKResponse) ProtoReflect() protoreflect.Message
func (*KeyServiceJWKResponse) Reset ¶
func (x *KeyServiceJWKResponse) Reset()
func (*KeyServiceJWKResponse) String ¶
func (x *KeyServiceJWKResponse) String() string
type KeyServiceJWTSignRequest ¶
type KeyServiceJWTSignRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceJWTSignRequest) Descriptor
deprecated
func (*KeyServiceJWTSignRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceJWTSignRequest.ProtoReflect.Descriptor instead.
func (*KeyServiceJWTSignRequest) GetId ¶
func (x *KeyServiceJWTSignRequest) GetId() string
func (*KeyServiceJWTSignRequest) GetMessage ¶
func (x *KeyServiceJWTSignRequest) GetMessage() string
func (*KeyServiceJWTSignRequest) ProtoMessage ¶
func (*KeyServiceJWTSignRequest) ProtoMessage()
func (*KeyServiceJWTSignRequest) ProtoReflect ¶
func (x *KeyServiceJWTSignRequest) ProtoReflect() protoreflect.Message
func (*KeyServiceJWTSignRequest) Reset ¶
func (x *KeyServiceJWTSignRequest) Reset()
func (*KeyServiceJWTSignRequest) String ¶
func (x *KeyServiceJWTSignRequest) String() string
type KeyServiceJWTSignResponse ¶
type KeyServiceJWTSignResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceJWTSignResponse) Descriptor
deprecated
func (*KeyServiceJWTSignResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceJWTSignResponse.ProtoReflect.Descriptor instead.
func (*KeyServiceJWTSignResponse) GetToken ¶
func (x *KeyServiceJWTSignResponse) GetToken() string
func (*KeyServiceJWTSignResponse) ProtoMessage ¶
func (*KeyServiceJWTSignResponse) ProtoMessage()
func (*KeyServiceJWTSignResponse) ProtoReflect ¶
func (x *KeyServiceJWTSignResponse) ProtoReflect() protoreflect.Message
func (*KeyServiceJWTSignResponse) Reset ¶
func (x *KeyServiceJWTSignResponse) Reset()
func (*KeyServiceJWTSignResponse) String ¶
func (x *KeyServiceJWTSignResponse) String() string
type KeyServiceJWTVerifyRequest ¶
type KeyServiceJWTVerifyRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceJWTVerifyRequest) Descriptor
deprecated
func (*KeyServiceJWTVerifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceJWTVerifyRequest.ProtoReflect.Descriptor instead.
func (*KeyServiceJWTVerifyRequest) GetId ¶
func (x *KeyServiceJWTVerifyRequest) GetId() string
func (*KeyServiceJWTVerifyRequest) GetToken ¶
func (x *KeyServiceJWTVerifyRequest) GetToken() string
func (*KeyServiceJWTVerifyRequest) ProtoMessage ¶
func (*KeyServiceJWTVerifyRequest) ProtoMessage()
func (*KeyServiceJWTVerifyRequest) ProtoReflect ¶
func (x *KeyServiceJWTVerifyRequest) ProtoReflect() protoreflect.Message
func (*KeyServiceJWTVerifyRequest) Reset ¶
func (x *KeyServiceJWTVerifyRequest) Reset()
func (*KeyServiceJWTVerifyRequest) String ¶
func (x *KeyServiceJWTVerifyRequest) String() string
type KeyServiceJWTVerifyResponse ¶
type KeyServiceJWTVerifyResponse struct { Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceJWTVerifyResponse) Descriptor
deprecated
func (*KeyServiceJWTVerifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceJWTVerifyResponse.ProtoReflect.Descriptor instead.
func (*KeyServiceJWTVerifyResponse) GetValid ¶
func (x *KeyServiceJWTVerifyResponse) GetValid() bool
func (*KeyServiceJWTVerifyResponse) ProtoMessage ¶
func (*KeyServiceJWTVerifyResponse) ProtoMessage()
func (*KeyServiceJWTVerifyResponse) ProtoReflect ¶
func (x *KeyServiceJWTVerifyResponse) ProtoReflect() protoreflect.Message
func (*KeyServiceJWTVerifyResponse) Reset ¶
func (x *KeyServiceJWTVerifyResponse) Reset()
func (*KeyServiceJWTVerifyResponse) String ¶
func (x *KeyServiceJWTVerifyResponse) String() string
type KeyServiceListRequest ¶
type KeyServiceListRequest struct { FirstId *string `protobuf:"bytes,1,opt,name=first_id,json=firstId,proto3,oneof" json:"first_id,omitempty"` ShowPrivateKey *bool `protobuf:"varint,2,opt,name=show_private_key,json=showPrivateKey,proto3,oneof" json:"show_private_key,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceListRequest) Descriptor
deprecated
func (*KeyServiceListRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceListRequest.ProtoReflect.Descriptor instead.
func (*KeyServiceListRequest) GetFirstId ¶
func (x *KeyServiceListRequest) GetFirstId() string
func (*KeyServiceListRequest) GetShowPrivateKey ¶
func (x *KeyServiceListRequest) GetShowPrivateKey() bool
func (*KeyServiceListRequest) ProtoMessage ¶
func (*KeyServiceListRequest) ProtoMessage()
func (*KeyServiceListRequest) ProtoReflect ¶
func (x *KeyServiceListRequest) ProtoReflect() protoreflect.Message
func (*KeyServiceListRequest) Reset ¶
func (x *KeyServiceListRequest) Reset()
func (*KeyServiceListRequest) String ¶
func (x *KeyServiceListRequest) String() string
type KeyServiceListResponse ¶
type KeyServiceListResponse struct { Keys []*Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` LastId *string `protobuf:"bytes,2,opt,name=last_id,json=lastId,proto3,oneof" json:"last_id,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceListResponse) Descriptor
deprecated
func (*KeyServiceListResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceListResponse.ProtoReflect.Descriptor instead.
func (*KeyServiceListResponse) GetKeys ¶
func (x *KeyServiceListResponse) GetKeys() []*Key
func (*KeyServiceListResponse) GetLastId ¶
func (x *KeyServiceListResponse) GetLastId() string
func (*KeyServiceListResponse) ProtoMessage ¶
func (*KeyServiceListResponse) ProtoMessage()
func (*KeyServiceListResponse) ProtoReflect ¶
func (x *KeyServiceListResponse) ProtoReflect() protoreflect.Message
func (*KeyServiceListResponse) Reset ¶
func (x *KeyServiceListResponse) Reset()
func (*KeyServiceListResponse) String ¶
func (x *KeyServiceListResponse) String() string
type KeyServiceRotateRequest ¶
type KeyServiceRotateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ShowPrivateKey *bool `protobuf:"varint,2,opt,name=show_private_key,json=showPrivateKey,proto3,oneof" json:"show_private_key,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceRotateRequest) Descriptor
deprecated
func (*KeyServiceRotateRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceRotateRequest.ProtoReflect.Descriptor instead.
func (*KeyServiceRotateRequest) GetId ¶
func (x *KeyServiceRotateRequest) GetId() string
func (*KeyServiceRotateRequest) GetShowPrivateKey ¶
func (x *KeyServiceRotateRequest) GetShowPrivateKey() bool
func (*KeyServiceRotateRequest) ProtoMessage ¶
func (*KeyServiceRotateRequest) ProtoMessage()
func (*KeyServiceRotateRequest) ProtoReflect ¶
func (x *KeyServiceRotateRequest) ProtoReflect() protoreflect.Message
func (*KeyServiceRotateRequest) Reset ¶
func (x *KeyServiceRotateRequest) Reset()
func (*KeyServiceRotateRequest) String ¶
func (x *KeyServiceRotateRequest) String() string
type KeyServiceRotateResponse ¶
type KeyServiceRotateResponse struct { Key *Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceRotateResponse) Descriptor
deprecated
func (*KeyServiceRotateResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceRotateResponse.ProtoReflect.Descriptor instead.
func (*KeyServiceRotateResponse) GetKey ¶
func (x *KeyServiceRotateResponse) GetKey() *Key
func (*KeyServiceRotateResponse) ProtoMessage ¶
func (*KeyServiceRotateResponse) ProtoMessage()
func (*KeyServiceRotateResponse) ProtoReflect ¶
func (x *KeyServiceRotateResponse) ProtoReflect() protoreflect.Message
func (*KeyServiceRotateResponse) Reset ¶
func (x *KeyServiceRotateResponse) Reset()
func (*KeyServiceRotateResponse) String ¶
func (x *KeyServiceRotateResponse) String() string
type KeyServiceServer ¶
type KeyServiceServer interface { Create(context.Context, *KeyServiceCreateRequest) (*KeyServiceCreateResponse, error) Get(context.Context, *KeyServiceGetRequest) (*KeyServiceGetResponse, error) GetOrCreate(context.Context, *KeyServiceGetOrCreateRequest) (*KeyServiceGetOrCreateResponse, error) List(context.Context, *KeyServiceListRequest) (*KeyServiceListResponse, error) Sign(context.Context, *KeyServiceSignRequest) (*KeyServiceSignResponse, error) Verify(context.Context, *KeyServiceVerifyRequest) (*KeyServiceVerifyResponse, error) Crypt(context.Context, *KeyServiceCryptRequest) (*KeyServiceCryptResponse, error) Decrypt(context.Context, *KeyServiceDecryptRequest) (*KeyServiceDecryptResponse, error) Rotate(context.Context, *KeyServiceRotateRequest) (*KeyServiceRotateResponse, error) Delete(context.Context, *KeyServiceDeleteRequest) (*KeyServiceDeleteResponse, error) JWK(context.Context, *KeyServiceJWKRequest) (*KeyServiceJWKResponse, error) JWTSign(context.Context, *KeyServiceJWTSignRequest) (*KeyServiceJWTSignResponse, error) JWTVerify(context.Context, *KeyServiceJWTVerifyRequest) (*KeyServiceJWTVerifyResponse, error) // contains filtered or unexported methods }
KeyServiceServer is the server API for KeyService service. All implementations must embed UnimplementedKeyServiceServer for forward compatibility
type KeyServiceSignRequest ¶
type KeyServiceSignRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceSignRequest) Descriptor
deprecated
func (*KeyServiceSignRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceSignRequest.ProtoReflect.Descriptor instead.
func (*KeyServiceSignRequest) GetId ¶
func (x *KeyServiceSignRequest) GetId() string
func (*KeyServiceSignRequest) GetMessage ¶
func (x *KeyServiceSignRequest) GetMessage() string
func (*KeyServiceSignRequest) ProtoMessage ¶
func (*KeyServiceSignRequest) ProtoMessage()
func (*KeyServiceSignRequest) ProtoReflect ¶
func (x *KeyServiceSignRequest) ProtoReflect() protoreflect.Message
func (*KeyServiceSignRequest) Reset ¶
func (x *KeyServiceSignRequest) Reset()
func (*KeyServiceSignRequest) String ¶
func (x *KeyServiceSignRequest) String() string
type KeyServiceSignResponse ¶
type KeyServiceSignResponse struct { Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` Kid string `protobuf:"bytes,2,opt,name=kid,proto3" json:"kid,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceSignResponse) Descriptor
deprecated
func (*KeyServiceSignResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceSignResponse.ProtoReflect.Descriptor instead.
func (*KeyServiceSignResponse) GetKid ¶
func (x *KeyServiceSignResponse) GetKid() string
func (*KeyServiceSignResponse) GetSignature ¶
func (x *KeyServiceSignResponse) GetSignature() string
func (*KeyServiceSignResponse) ProtoMessage ¶
func (*KeyServiceSignResponse) ProtoMessage()
func (*KeyServiceSignResponse) ProtoReflect ¶
func (x *KeyServiceSignResponse) ProtoReflect() protoreflect.Message
func (*KeyServiceSignResponse) Reset ¶
func (x *KeyServiceSignResponse) Reset()
func (*KeyServiceSignResponse) String ¶
func (x *KeyServiceSignResponse) String() string
type KeyServiceVerifyRequest ¶
type KeyServiceVerifyRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceVerifyRequest) Descriptor
deprecated
func (*KeyServiceVerifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceVerifyRequest.ProtoReflect.Descriptor instead.
func (*KeyServiceVerifyRequest) GetId ¶
func (x *KeyServiceVerifyRequest) GetId() string
func (*KeyServiceVerifyRequest) GetMessage ¶
func (x *KeyServiceVerifyRequest) GetMessage() string
func (*KeyServiceVerifyRequest) GetSignature ¶
func (x *KeyServiceVerifyRequest) GetSignature() string
func (*KeyServiceVerifyRequest) ProtoMessage ¶
func (*KeyServiceVerifyRequest) ProtoMessage()
func (*KeyServiceVerifyRequest) ProtoReflect ¶
func (x *KeyServiceVerifyRequest) ProtoReflect() protoreflect.Message
func (*KeyServiceVerifyRequest) Reset ¶
func (x *KeyServiceVerifyRequest) Reset()
func (*KeyServiceVerifyRequest) String ¶
func (x *KeyServiceVerifyRequest) String() string
type KeyServiceVerifyResponse ¶
type KeyServiceVerifyResponse struct { Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` // contains filtered or unexported fields }
func (*KeyServiceVerifyResponse) Descriptor
deprecated
func (*KeyServiceVerifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeyServiceVerifyResponse.ProtoReflect.Descriptor instead.
func (*KeyServiceVerifyResponse) GetValid ¶
func (x *KeyServiceVerifyResponse) GetValid() bool
func (*KeyServiceVerifyResponse) ProtoMessage ¶
func (*KeyServiceVerifyResponse) ProtoMessage()
func (*KeyServiceVerifyResponse) ProtoReflect ¶
func (x *KeyServiceVerifyResponse) ProtoReflect() protoreflect.Message
func (*KeyServiceVerifyResponse) Reset ¶
func (x *KeyServiceVerifyResponse) Reset()
func (*KeyServiceVerifyResponse) String ¶
func (x *KeyServiceVerifyResponse) String() string
type UnimplementedKeyServiceServer ¶
type UnimplementedKeyServiceServer struct { }
UnimplementedKeyServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedKeyServiceServer) Create ¶
func (UnimplementedKeyServiceServer) Create(context.Context, *KeyServiceCreateRequest) (*KeyServiceCreateResponse, error)
func (UnimplementedKeyServiceServer) Crypt ¶
func (UnimplementedKeyServiceServer) Crypt(context.Context, *KeyServiceCryptRequest) (*KeyServiceCryptResponse, error)
func (UnimplementedKeyServiceServer) Decrypt ¶
func (UnimplementedKeyServiceServer) Decrypt(context.Context, *KeyServiceDecryptRequest) (*KeyServiceDecryptResponse, error)
func (UnimplementedKeyServiceServer) Delete ¶
func (UnimplementedKeyServiceServer) Delete(context.Context, *KeyServiceDeleteRequest) (*KeyServiceDeleteResponse, error)
func (UnimplementedKeyServiceServer) Get ¶
func (UnimplementedKeyServiceServer) Get(context.Context, *KeyServiceGetRequest) (*KeyServiceGetResponse, error)
func (UnimplementedKeyServiceServer) GetOrCreate ¶
func (UnimplementedKeyServiceServer) GetOrCreate(context.Context, *KeyServiceGetOrCreateRequest) (*KeyServiceGetOrCreateResponse, error)
func (UnimplementedKeyServiceServer) JWK ¶
func (UnimplementedKeyServiceServer) JWK(context.Context, *KeyServiceJWKRequest) (*KeyServiceJWKResponse, error)
func (UnimplementedKeyServiceServer) JWTSign ¶
func (UnimplementedKeyServiceServer) JWTSign(context.Context, *KeyServiceJWTSignRequest) (*KeyServiceJWTSignResponse, error)
func (UnimplementedKeyServiceServer) JWTVerify ¶
func (UnimplementedKeyServiceServer) JWTVerify(context.Context, *KeyServiceJWTVerifyRequest) (*KeyServiceJWTVerifyResponse, error)
func (UnimplementedKeyServiceServer) List ¶
func (UnimplementedKeyServiceServer) List(context.Context, *KeyServiceListRequest) (*KeyServiceListResponse, error)
func (UnimplementedKeyServiceServer) Rotate ¶
func (UnimplementedKeyServiceServer) Rotate(context.Context, *KeyServiceRotateRequest) (*KeyServiceRotateResponse, error)
func (UnimplementedKeyServiceServer) Sign ¶
func (UnimplementedKeyServiceServer) Sign(context.Context, *KeyServiceSignRequest) (*KeyServiceSignResponse, error)
func (UnimplementedKeyServiceServer) Verify ¶
func (UnimplementedKeyServiceServer) Verify(context.Context, *KeyServiceVerifyRequest) (*KeyServiceVerifyResponse, error)
type UnsafeKeyServiceServer ¶
type UnsafeKeyServiceServer interface {
// contains filtered or unexported methods
}
UnsafeKeyServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KeyServiceServer will result in compilation errors.