models

package
v0.0.0-...-d357a17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_models_key_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Key.ProtoReflect.Descriptor instead.

func (*Key) GetCreatedAt

func (x *Key) GetCreatedAt() *timestamppb.Timestamp

func (*Key) GetExpiresAt

func (x *Key) GetExpiresAt() *timestamppb.Timestamp

func (*Key) GetExternalId

func (x *Key) GetExternalId() string

func (*Key) GetId

func (x *Key) GetId() string

func (*Key) GetKid

func (x *Key) GetKid() string

func (*Key) GetPrivateKey

func (x *Key) GetPrivateKey() string

func (*Key) GetPublicKey

func (x *Key) GetPublicKey() string

func (*Key) GetRotateCron

func (x *Key) GetRotateCron() string

func (*Key) GetRotatedFromId

func (x *Key) GetRotatedFromId() string

func (*Key) GetShouldRotate

func (x *Key) GetShouldRotate() bool

func (*Key) GetUpdatedAt

func (x *Key) GetUpdatedAt() *timestamppb.Timestamp

func (*Key) ProtoMessage

func (*Key) ProtoMessage()

func (*Key) ProtoReflect

func (x *Key) ProtoReflect() protoreflect.Message

func (*Key) Reset

func (x *Key) Reset()

func (*Key) String

func (x *Key) String() string

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 (*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 (*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 (*KeyServiceGetOrCreateRequest) Reset

func (x *KeyServiceGetOrCreateRequest) Reset()

func (*KeyServiceGetOrCreateRequest) 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 (*KeyServiceGetOrCreateResponse) Reset

func (x *KeyServiceGetOrCreateResponse) Reset()

func (*KeyServiceGetOrCreateResponse) 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 (*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 (*KeyServiceJWTVerifyRequest) GetToken

func (x *KeyServiceJWTVerifyRequest) GetToken() string

func (*KeyServiceJWTVerifyRequest) ProtoMessage

func (*KeyServiceJWTVerifyRequest) ProtoMessage()

func (*KeyServiceJWTVerifyRequest) ProtoReflect

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 (*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 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) Get

func (UnimplementedKeyServiceServer) JWK

func (UnimplementedKeyServiceServer) List

func (UnimplementedKeyServiceServer) Sign

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL