Documentation ¶
Index ¶
- Variables
- func RegisterIAMAuthenticationX509ServiceServer(s grpc.ServiceRegistrar, srv IAMAuthenticationX509ServiceServer)
- type Certificate
- func (*Certificate) Descriptor() ([]byte, []int)deprecated
- func (x *Certificate) GetCreated() *timestamp.Timestamp
- func (x *Certificate) GetDescription() string
- func (x *Certificate) GetDisabled() bool
- func (x *Certificate) GetIdentity() string
- func (x *Certificate) GetNamespace() string
- func (x *Certificate) GetPublicKey() []byte
- func (x *Certificate) GetUpdated() *timestamp.Timestamp
- func (x *Certificate) GetUuid() string
- func (x *Certificate) GetVersion() uint64
- func (*Certificate) ProtoMessage()
- func (x *Certificate) ProtoReflect() protoreflect.Message
- func (x *Certificate) Reset()
- func (x *Certificate) String() string
- type CountForIdentityRequest
- func (*CountForIdentityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CountForIdentityRequest) GetIdentity() string
- func (x *CountForIdentityRequest) GetNamespace() string
- func (*CountForIdentityRequest) ProtoMessage()
- func (x *CountForIdentityRequest) ProtoReflect() protoreflect.Message
- func (x *CountForIdentityRequest) Reset()
- func (x *CountForIdentityRequest) String() string
- type CountForIdentityResponse
- func (*CountForIdentityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CountForIdentityResponse) GetCount() uint64
- func (*CountForIdentityResponse) ProtoMessage()
- func (x *CountForIdentityResponse) ProtoReflect() protoreflect.Message
- func (x *CountForIdentityResponse) Reset()
- func (x *CountForIdentityResponse) String() string
- type CountRequest
- type CountResponse
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRequest) GetNamespace() string
- func (x *DeleteRequest) GetUuid() string
- func (*DeleteRequest) ProtoMessage()
- func (x *DeleteRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRequest) Reset()
- func (x *DeleteRequest) String() string
- type DeleteResponse
- type DisableRequest
- func (*DisableRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DisableRequest) GetNamespace() string
- func (x *DisableRequest) GetUuid() string
- func (*DisableRequest) ProtoMessage()
- func (x *DisableRequest) ProtoReflect() protoreflect.Message
- func (x *DisableRequest) Reset()
- func (x *DisableRequest) String() string
- type DisableResponse
- type GetRequest
- type GetResponse
- type GetRootCAInfoRequest
- type GetRootCAInfoResponse
- func (*GetRootCAInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRootCAInfoResponse) GetCertificate() []byte
- func (*GetRootCAInfoResponse) ProtoMessage()
- func (x *GetRootCAInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetRootCAInfoResponse) Reset()
- func (x *GetRootCAInfoResponse) String() string
- type IAMAuthenticationX509ServiceClient
- type IAMAuthenticationX509ServiceServer
- type IAMAuthenticationX509Service_ListClient
- type IAMAuthenticationX509Service_ListForIdentityClient
- type IAMAuthenticationX509Service_ListForIdentityServer
- type IAMAuthenticationX509Service_ListServer
- type ListForIdentityRequest
- func (*ListForIdentityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListForIdentityRequest) GetIdentity() string
- func (x *ListForIdentityRequest) GetLimit() uint64
- func (x *ListForIdentityRequest) GetNamespace() string
- func (x *ListForIdentityRequest) GetSkip() uint64
- func (*ListForIdentityRequest) ProtoMessage()
- func (x *ListForIdentityRequest) ProtoReflect() protoreflect.Message
- func (x *ListForIdentityRequest) Reset()
- func (x *ListForIdentityRequest) String() string
- type ListForIdentityResponse
- func (*ListForIdentityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListForIdentityResponse) GetCertificate() *Certificate
- func (*ListForIdentityResponse) ProtoMessage()
- func (x *ListForIdentityResponse) ProtoReflect() protoreflect.Message
- func (x *ListForIdentityResponse) Reset()
- func (x *ListForIdentityResponse) String() string
- type ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRequest) GetLimit() uint64
- func (x *ListRequest) GetNamespace() string
- func (x *ListRequest) GetSkip() uint64
- func (*ListRequest) ProtoMessage()
- func (x *ListRequest) ProtoReflect() protoreflect.Message
- func (x *ListRequest) Reset()
- func (x *ListRequest) String() string
- type ListResponse
- type RegenerateRequest
- func (*RegenerateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegenerateRequest) GetNamespace() string
- func (x *RegenerateRequest) GetUuid() string
- func (*RegenerateRequest) ProtoMessage()
- func (x *RegenerateRequest) ProtoReflect() protoreflect.Message
- func (x *RegenerateRequest) Reset()
- func (x *RegenerateRequest) String() string
- type RegenerateResponse
- func (*RegenerateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegenerateResponse) GetCertificate() []byte
- func (*RegenerateResponse) ProtoMessage()
- func (x *RegenerateResponse) ProtoReflect() protoreflect.Message
- func (x *RegenerateResponse) Reset()
- func (x *RegenerateResponse) String() string
- type RegisterAndGenerateRequest
- func (*RegisterAndGenerateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterAndGenerateRequest) GetDescription() string
- func (x *RegisterAndGenerateRequest) GetIdentity() string
- func (x *RegisterAndGenerateRequest) GetNamespace() string
- func (x *RegisterAndGenerateRequest) GetPublicKey() []byte
- func (*RegisterAndGenerateRequest) ProtoMessage()
- func (x *RegisterAndGenerateRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterAndGenerateRequest) Reset()
- func (x *RegisterAndGenerateRequest) String() string
- type RegisterAndGenerateResponse
- func (*RegisterAndGenerateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterAndGenerateResponse) GetInfo() *Certificate
- func (x *RegisterAndGenerateResponse) GetRaw() []byte
- func (*RegisterAndGenerateResponse) ProtoMessage()
- func (x *RegisterAndGenerateResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterAndGenerateResponse) Reset()
- func (x *RegisterAndGenerateResponse) String() string
- type UnimplementedIAMAuthenticationX509ServiceServer
- func (UnimplementedIAMAuthenticationX509ServiceServer) Count(context.Context, *CountRequest) (*CountResponse, error)
- func (UnimplementedIAMAuthenticationX509ServiceServer) CountForIdentity(context.Context, *CountForIdentityRequest) (*CountForIdentityResponse, error)
- func (UnimplementedIAMAuthenticationX509ServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
- func (UnimplementedIAMAuthenticationX509ServiceServer) Disable(context.Context, *DisableRequest) (*DisableResponse, error)
- func (UnimplementedIAMAuthenticationX509ServiceServer) Get(context.Context, *GetRequest) (*GetResponse, error)
- func (UnimplementedIAMAuthenticationX509ServiceServer) GetRootCAInfo(context.Context, *GetRootCAInfoRequest) (*GetRootCAInfoResponse, error)
- func (UnimplementedIAMAuthenticationX509ServiceServer) List(*ListRequest, IAMAuthenticationX509Service_ListServer) error
- func (UnimplementedIAMAuthenticationX509ServiceServer) ListForIdentity(*ListForIdentityRequest, IAMAuthenticationX509Service_ListForIdentityServer) error
- func (UnimplementedIAMAuthenticationX509ServiceServer) Regenerate(context.Context, *RegenerateRequest) (*RegenerateResponse, error)
- func (UnimplementedIAMAuthenticationX509ServiceServer) RegisterAndGenerate(context.Context, *RegisterAndGenerateRequest) (*RegisterAndGenerateResponse, error)
- func (UnimplementedIAMAuthenticationX509ServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
- func (UnimplementedIAMAuthenticationX509ServiceServer) ValidateAndGetFromRawX509(context.Context, *ValidateAndGetFromRawX509Request) (*ValidateAndGetFromRawX509Response, error)
- type UnsafeIAMAuthenticationX509ServiceServer
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRequest) GetNamespace() string
- func (x *UpdateRequest) GetNewDescription() string
- func (x *UpdateRequest) GetUuid() string
- func (*UpdateRequest) ProtoMessage()
- func (x *UpdateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRequest) Reset()
- func (x *UpdateRequest) String() string
- type UpdateResponse
- type ValidateAndGetFromRawX509Request
- func (*ValidateAndGetFromRawX509Request) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateAndGetFromRawX509Request) GetRaw() []byte
- func (*ValidateAndGetFromRawX509Request) ProtoMessage()
- func (x *ValidateAndGetFromRawX509Request) ProtoReflect() protoreflect.Message
- func (x *ValidateAndGetFromRawX509Request) Reset()
- func (x *ValidateAndGetFromRawX509Request) String() string
- type ValidateAndGetFromRawX509Response
- func (*ValidateAndGetFromRawX509Response) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateAndGetFromRawX509Response) GetCertificate() *Certificate
- func (x *ValidateAndGetFromRawX509Response) GetStatus() ValidateAndGetFromRawX509Response_Status
- func (*ValidateAndGetFromRawX509Response) ProtoMessage()
- func (x *ValidateAndGetFromRawX509Response) ProtoReflect() protoreflect.Message
- func (x *ValidateAndGetFromRawX509Response) Reset()
- func (x *ValidateAndGetFromRawX509Response) String() string
- type ValidateAndGetFromRawX509Response_Status
- func (ValidateAndGetFromRawX509Response_Status) Descriptor() protoreflect.EnumDescriptor
- func (x ValidateAndGetFromRawX509Response_Status) Enum() *ValidateAndGetFromRawX509Response_Status
- func (ValidateAndGetFromRawX509Response_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x ValidateAndGetFromRawX509Response_Status) Number() protoreflect.EnumNumber
- func (x ValidateAndGetFromRawX509Response_Status) String() string
- func (ValidateAndGetFromRawX509Response_Status) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( ValidateAndGetFromRawX509Response_Status_name = map[int32]string{ 0: "OK", 1: "INVALID_FORMAT", 2: "SIGNATURE_INVALID", 3: "NOT_FOUND", } ValidateAndGetFromRawX509Response_Status_value = map[string]int32{ "OK": 0, "INVALID_FORMAT": 1, "SIGNATURE_INVALID": 2, "NOT_FOUND": 3, } )
Enum value maps for ValidateAndGetFromRawX509Response_Status.
var File_x509_proto protoreflect.FileDescriptor
var IAMAuthenticationX509Service_ServiceDesc = grpc.ServiceDesc{ ServiceName: "native_iam_authentication_x509.IAMAuthenticationX509Service", HandlerType: (*IAMAuthenticationX509ServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetRootCAInfo", Handler: _IAMAuthenticationX509Service_GetRootCAInfo_Handler, }, { MethodName: "RegisterAndGenerate", Handler: _IAMAuthenticationX509Service_RegisterAndGenerate_Handler, }, { MethodName: "Regenerate", Handler: _IAMAuthenticationX509Service_Regenerate_Handler, }, { MethodName: "ValidateAndGetFromRawX509", Handler: _IAMAuthenticationX509Service_ValidateAndGetFromRawX509_Handler, }, { MethodName: "Get", Handler: _IAMAuthenticationX509Service_Get_Handler, }, { MethodName: "Count", Handler: _IAMAuthenticationX509Service_Count_Handler, }, { MethodName: "CountForIdentity", Handler: _IAMAuthenticationX509Service_CountForIdentity_Handler, }, { MethodName: "Update", Handler: _IAMAuthenticationX509Service_Update_Handler, }, { MethodName: "Delete", Handler: _IAMAuthenticationX509Service_Delete_Handler, }, { MethodName: "Disable", Handler: _IAMAuthenticationX509Service_Disable_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _IAMAuthenticationX509Service_List_Handler, ServerStreams: true, }, { StreamName: "ListForIdentity", Handler: _IAMAuthenticationX509Service_ListForIdentity_Handler, ServerStreams: true, }, }, Metadata: "x509.proto", }
IAMAuthenticationX509Service_ServiceDesc is the grpc.ServiceDesc for IAMAuthenticationX509Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIAMAuthenticationX509ServiceServer ¶
func RegisterIAMAuthenticationX509ServiceServer(s grpc.ServiceRegistrar, srv IAMAuthenticationX509ServiceServer)
Types ¶
type Certificate ¶
type Certificate struct { // Namespace where indetity and its certificate are located Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // Unique identifier of the certificate Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // Unique identifier of the identity Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` // Indicates if certificate was manually disabled. Disabled certificate connot be used. Disabled bool `protobuf:"varint,4,opt,name=disabled,proto3" json:"disabled,omitempty"` // Arbitrary, human-readable desription of the certificate Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // RSA public key in DER format PublicKey []byte `protobuf:"bytes,6,opt,name=publicKey,proto3" json:"publicKey,omitempty"` // When the certificate was created Created *timestamp.Timestamp `protobuf:"bytes,9,opt,name=created,proto3" json:"created,omitempty"` // Last time when the certificate information was updated. Updated *timestamp.Timestamp `protobuf:"bytes,10,opt,name=updated,proto3" json:"updated,omitempty"` // Counter that increases after every update of the certificate Version uint64 `protobuf:"varint,11,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*Certificate) Descriptor
deprecated
func (*Certificate) Descriptor() ([]byte, []int)
Deprecated: Use Certificate.ProtoReflect.Descriptor instead.
func (*Certificate) GetCreated ¶
func (x *Certificate) GetCreated() *timestamp.Timestamp
func (*Certificate) GetDescription ¶
func (x *Certificate) GetDescription() string
func (*Certificate) GetDisabled ¶
func (x *Certificate) GetDisabled() bool
func (*Certificate) GetIdentity ¶
func (x *Certificate) GetIdentity() string
func (*Certificate) GetNamespace ¶
func (x *Certificate) GetNamespace() string
func (*Certificate) GetPublicKey ¶
func (x *Certificate) GetPublicKey() []byte
func (*Certificate) GetUpdated ¶
func (x *Certificate) GetUpdated() *timestamp.Timestamp
func (*Certificate) GetUuid ¶
func (x *Certificate) GetUuid() string
func (*Certificate) GetVersion ¶
func (x *Certificate) GetVersion() uint64
func (*Certificate) ProtoMessage ¶
func (*Certificate) ProtoMessage()
func (*Certificate) ProtoReflect ¶
func (x *Certificate) ProtoReflect() protoreflect.Message
func (*Certificate) Reset ¶
func (x *Certificate) Reset()
func (*Certificate) String ¶
func (x *Certificate) String() string
type CountForIdentityRequest ¶
type CountForIdentityRequest struct { // Namespace where to count certificates Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // Identity unique identifier for each to count certificates Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // contains filtered or unexported fields }
func (*CountForIdentityRequest) Descriptor
deprecated
func (*CountForIdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use CountForIdentityRequest.ProtoReflect.Descriptor instead.
func (*CountForIdentityRequest) GetIdentity ¶
func (x *CountForIdentityRequest) GetIdentity() string
func (*CountForIdentityRequest) GetNamespace ¶
func (x *CountForIdentityRequest) GetNamespace() string
func (*CountForIdentityRequest) ProtoMessage ¶
func (*CountForIdentityRequest) ProtoMessage()
func (*CountForIdentityRequest) ProtoReflect ¶
func (x *CountForIdentityRequest) ProtoReflect() protoreflect.Message
func (*CountForIdentityRequest) Reset ¶
func (x *CountForIdentityRequest) Reset()
func (*CountForIdentityRequest) String ¶
func (x *CountForIdentityRequest) String() string
type CountForIdentityResponse ¶
type CountForIdentityResponse struct { Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*CountForIdentityResponse) Descriptor
deprecated
func (*CountForIdentityResponse) Descriptor() ([]byte, []int)
Deprecated: Use CountForIdentityResponse.ProtoReflect.Descriptor instead.
func (*CountForIdentityResponse) GetCount ¶
func (x *CountForIdentityResponse) GetCount() uint64
func (*CountForIdentityResponse) ProtoMessage ¶
func (*CountForIdentityResponse) ProtoMessage()
func (*CountForIdentityResponse) ProtoReflect ¶
func (x *CountForIdentityResponse) ProtoReflect() protoreflect.Message
func (*CountForIdentityResponse) Reset ¶
func (x *CountForIdentityResponse) Reset()
func (*CountForIdentityResponse) String ¶
func (x *CountForIdentityResponse) String() string
type CountRequest ¶
type CountRequest struct { // Namespace where to count certificates Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*CountRequest) Descriptor
deprecated
func (*CountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CountRequest.ProtoReflect.Descriptor instead.
func (*CountRequest) GetNamespace ¶
func (x *CountRequest) GetNamespace() string
func (*CountRequest) ProtoMessage ¶
func (*CountRequest) ProtoMessage()
func (*CountRequest) ProtoReflect ¶
func (x *CountRequest) ProtoReflect() protoreflect.Message
func (*CountRequest) Reset ¶
func (x *CountRequest) Reset()
func (*CountRequest) String ¶
func (x *CountRequest) String() string
type CountResponse ¶
type CountResponse struct { Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*CountResponse) Descriptor
deprecated
func (*CountResponse) Descriptor() ([]byte, []int)
Deprecated: Use CountResponse.ProtoReflect.Descriptor instead.
func (*CountResponse) GetCount ¶
func (x *CountResponse) GetCount() uint64
func (*CountResponse) ProtoMessage ¶
func (*CountResponse) ProtoMessage()
func (*CountResponse) ProtoReflect ¶
func (x *CountResponse) ProtoReflect() protoreflect.Message
func (*CountResponse) Reset ¶
func (x *CountResponse) Reset()
func (*CountResponse) String ¶
func (x *CountResponse) String() string
type DeleteRequest ¶
type DeleteRequest struct { // Namespace where certificate is located Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // Unique identifier of the certificate Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetNamespace ¶
func (x *DeleteRequest) GetNamespace() string
func (*DeleteRequest) GetUuid ¶
func (x *DeleteRequest) GetUuid() string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
type DeleteResponse ¶
type DeleteResponse struct { // indicates if certificate existed before this operation Existed bool `protobuf:"varint,1,opt,name=existed,proto3" json:"existed,omitempty"` // contains filtered or unexported fields }
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) GetExisted ¶
func (x *DeleteResponse) GetExisted() bool
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
type DisableRequest ¶
type DisableRequest struct { // Namespace where certificate is located Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // Unique identifier of the certificate Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*DisableRequest) Descriptor
deprecated
func (*DisableRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisableRequest.ProtoReflect.Descriptor instead.
func (*DisableRequest) GetNamespace ¶
func (x *DisableRequest) GetNamespace() string
func (*DisableRequest) GetUuid ¶
func (x *DisableRequest) GetUuid() string
func (*DisableRequest) ProtoMessage ¶
func (*DisableRequest) ProtoMessage()
func (*DisableRequest) ProtoReflect ¶
func (x *DisableRequest) ProtoReflect() protoreflect.Message
func (*DisableRequest) Reset ¶
func (x *DisableRequest) Reset()
func (*DisableRequest) String ¶
func (x *DisableRequest) String() string
type DisableResponse ¶
type DisableResponse struct { // indicates if certificate was active before this operation WasActive bool `protobuf:"varint,1,opt,name=wasActive,proto3" json:"wasActive,omitempty"` // contains filtered or unexported fields }
func (*DisableResponse) Descriptor
deprecated
func (*DisableResponse) Descriptor() ([]byte, []int)
Deprecated: Use DisableResponse.ProtoReflect.Descriptor instead.
func (*DisableResponse) GetWasActive ¶
func (x *DisableResponse) GetWasActive() bool
func (*DisableResponse) ProtoMessage ¶
func (*DisableResponse) ProtoMessage()
func (*DisableResponse) ProtoReflect ¶
func (x *DisableResponse) ProtoReflect() protoreflect.Message
func (*DisableResponse) Reset ¶
func (x *DisableResponse) Reset()
func (*DisableResponse) String ¶
func (x *DisableResponse) String() string
type GetRequest ¶
type GetRequest struct { // Namespace where certificate is located Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // Unique identifier of the certificate Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetNamespace ¶
func (x *GetRequest) GetNamespace() string
func (*GetRequest) GetUuid ¶
func (x *GetRequest) GetUuid() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type GetResponse ¶
type GetResponse struct { Certificate *Certificate `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` // contains filtered or unexported fields }
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetCertificate ¶
func (x *GetResponse) GetCertificate() *Certificate
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
type GetRootCAInfoRequest ¶
type GetRootCAInfoRequest struct {
// contains filtered or unexported fields
}
func (*GetRootCAInfoRequest) Descriptor
deprecated
func (*GetRootCAInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRootCAInfoRequest.ProtoReflect.Descriptor instead.
func (*GetRootCAInfoRequest) ProtoMessage ¶
func (*GetRootCAInfoRequest) ProtoMessage()
func (*GetRootCAInfoRequest) ProtoReflect ¶
func (x *GetRootCAInfoRequest) ProtoReflect() protoreflect.Message
func (*GetRootCAInfoRequest) Reset ¶
func (x *GetRootCAInfoRequest) Reset()
func (*GetRootCAInfoRequest) String ¶
func (x *GetRootCAInfoRequest) String() string
type GetRootCAInfoResponse ¶
type GetRootCAInfoResponse struct { // x509 certificate in the DER format Certificate []byte `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` // contains filtered or unexported fields }
func (*GetRootCAInfoResponse) Descriptor
deprecated
func (*GetRootCAInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRootCAInfoResponse.ProtoReflect.Descriptor instead.
func (*GetRootCAInfoResponse) GetCertificate ¶
func (x *GetRootCAInfoResponse) GetCertificate() []byte
func (*GetRootCAInfoResponse) ProtoMessage ¶
func (*GetRootCAInfoResponse) ProtoMessage()
func (*GetRootCAInfoResponse) ProtoReflect ¶
func (x *GetRootCAInfoResponse) ProtoReflect() protoreflect.Message
func (*GetRootCAInfoResponse) Reset ¶
func (x *GetRootCAInfoResponse) Reset()
func (*GetRootCAInfoResponse) String ¶
func (x *GetRootCAInfoResponse) String() string
type IAMAuthenticationX509ServiceClient ¶
type IAMAuthenticationX509ServiceClient interface { // Get root CA certificate and public key in DER format. It can be used to validate all the certificates created by this service GetRootCAInfo(ctx context.Context, in *GetRootCAInfoRequest, opts ...grpc.CallOption) (*GetRootCAInfoResponse, error) // Register public key for identity and generate x509 certificate for it. Sign certificate using internal CA. RegisterAndGenerate(ctx context.Context, in *RegisterAndGenerateRequest, opts ...grpc.CallOption) (*RegisterAndGenerateResponse, error) // Regenerate x509 certificate. Return new x509 certificate signed with CA. Regenerate(ctx context.Context, in *RegenerateRequest, opts ...grpc.CallOption) (*RegenerateResponse, error) // Get certificate information from RAW X509 certificate. ValidateAndGetFromRawX509(ctx context.Context, in *ValidateAndGetFromRawX509Request, opts ...grpc.CallOption) (*ValidateAndGetFromRawX509Response, error) // Get certificate information using its unique identifier Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) // Count all the registered certificates in the namespace Count(ctx context.Context, in *CountRequest, opts ...grpc.CallOption) (*CountResponse, error) // List all the registered certificates in the namespace List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (IAMAuthenticationX509Service_ListClient, error) // List all the registered certificates for specified identity CountForIdentity(ctx context.Context, in *CountForIdentityRequest, opts ...grpc.CallOption) (*CountForIdentityResponse, error) // List all the registered certificates for specified identity ListForIdentity(ctx context.Context, in *ListForIdentityRequest, opts ...grpc.CallOption) (IAMAuthenticationX509Service_ListForIdentityClient, error) // Update certificate information Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) // Delete certificate. Note, that previously generated X509 certificate is still valid. Thats why you have to check if they still exists and wasnt disabled. Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) // Mark certificate as manually disabled. Disabled certificated cant be used. Disable(ctx context.Context, in *DisableRequest, opts ...grpc.CallOption) (*DisableResponse, error) }
IAMAuthenticationX509ServiceClient is the client API for IAMAuthenticationX509Service 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 NewIAMAuthenticationX509ServiceClient ¶
func NewIAMAuthenticationX509ServiceClient(cc grpc.ClientConnInterface) IAMAuthenticationX509ServiceClient
type IAMAuthenticationX509ServiceServer ¶
type IAMAuthenticationX509ServiceServer interface { // Get root CA certificate and public key in DER format. It can be used to validate all the certificates created by this service GetRootCAInfo(context.Context, *GetRootCAInfoRequest) (*GetRootCAInfoResponse, error) // Register public key for identity and generate x509 certificate for it. Sign certificate using internal CA. RegisterAndGenerate(context.Context, *RegisterAndGenerateRequest) (*RegisterAndGenerateResponse, error) // Regenerate x509 certificate. Return new x509 certificate signed with CA. Regenerate(context.Context, *RegenerateRequest) (*RegenerateResponse, error) // Get certificate information from RAW X509 certificate. ValidateAndGetFromRawX509(context.Context, *ValidateAndGetFromRawX509Request) (*ValidateAndGetFromRawX509Response, error) // Get certificate information using its unique identifier Get(context.Context, *GetRequest) (*GetResponse, error) // Count all the registered certificates in the namespace Count(context.Context, *CountRequest) (*CountResponse, error) // List all the registered certificates in the namespace List(*ListRequest, IAMAuthenticationX509Service_ListServer) error // List all the registered certificates for specified identity CountForIdentity(context.Context, *CountForIdentityRequest) (*CountForIdentityResponse, error) // List all the registered certificates for specified identity ListForIdentity(*ListForIdentityRequest, IAMAuthenticationX509Service_ListForIdentityServer) error // Update certificate information Update(context.Context, *UpdateRequest) (*UpdateResponse, error) // Delete certificate. Note, that previously generated X509 certificate is still valid. Thats why you have to check if they still exists and wasnt disabled. Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) // Mark certificate as manually disabled. Disabled certificated cant be used. Disable(context.Context, *DisableRequest) (*DisableResponse, error) // contains filtered or unexported methods }
IAMAuthenticationX509ServiceServer is the server API for IAMAuthenticationX509Service service. All implementations must embed UnimplementedIAMAuthenticationX509ServiceServer for forward compatibility
type IAMAuthenticationX509Service_ListClient ¶
type IAMAuthenticationX509Service_ListClient interface { Recv() (*ListResponse, error) grpc.ClientStream }
type IAMAuthenticationX509Service_ListForIdentityClient ¶
type IAMAuthenticationX509Service_ListForIdentityClient interface { Recv() (*ListForIdentityResponse, error) grpc.ClientStream }
type IAMAuthenticationX509Service_ListForIdentityServer ¶
type IAMAuthenticationX509Service_ListForIdentityServer interface { Send(*ListForIdentityResponse) error grpc.ServerStream }
type IAMAuthenticationX509Service_ListServer ¶
type IAMAuthenticationX509Service_ListServer interface { Send(*ListResponse) error grpc.ServerStream }
type ListForIdentityRequest ¶
type ListForIdentityRequest struct { // Namespace where to list certificates Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // Identity unique identifier for each to list certificates Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // How much entries to skip before returning actual entries Skip uint64 `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"` // Limit response to specified count of entries. Use 0 to ignore this and return all the possible entries. Limit uint64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*ListForIdentityRequest) Descriptor
deprecated
func (*ListForIdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListForIdentityRequest.ProtoReflect.Descriptor instead.
func (*ListForIdentityRequest) GetIdentity ¶
func (x *ListForIdentityRequest) GetIdentity() string
func (*ListForIdentityRequest) GetLimit ¶
func (x *ListForIdentityRequest) GetLimit() uint64
func (*ListForIdentityRequest) GetNamespace ¶
func (x *ListForIdentityRequest) GetNamespace() string
func (*ListForIdentityRequest) GetSkip ¶
func (x *ListForIdentityRequest) GetSkip() uint64
func (*ListForIdentityRequest) ProtoMessage ¶
func (*ListForIdentityRequest) ProtoMessage()
func (*ListForIdentityRequest) ProtoReflect ¶
func (x *ListForIdentityRequest) ProtoReflect() protoreflect.Message
func (*ListForIdentityRequest) Reset ¶
func (x *ListForIdentityRequest) Reset()
func (*ListForIdentityRequest) String ¶
func (x *ListForIdentityRequest) String() string
type ListForIdentityResponse ¶
type ListForIdentityResponse struct { // One of the certificates Certificate *Certificate `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` // contains filtered or unexported fields }
func (*ListForIdentityResponse) Descriptor
deprecated
func (*ListForIdentityResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListForIdentityResponse.ProtoReflect.Descriptor instead.
func (*ListForIdentityResponse) GetCertificate ¶
func (x *ListForIdentityResponse) GetCertificate() *Certificate
func (*ListForIdentityResponse) ProtoMessage ¶
func (*ListForIdentityResponse) ProtoMessage()
func (*ListForIdentityResponse) ProtoReflect ¶
func (x *ListForIdentityResponse) ProtoReflect() protoreflect.Message
func (*ListForIdentityResponse) Reset ¶
func (x *ListForIdentityResponse) Reset()
func (*ListForIdentityResponse) String ¶
func (x *ListForIdentityResponse) String() string
type ListRequest ¶
type ListRequest struct { // Namespace where to list certificates Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // How much entries to skip before returning actual entries Skip uint64 `protobuf:"varint,2,opt,name=skip,proto3" json:"skip,omitempty"` // Limit response to specified count of entries. Use 0 to ignore this and return all the possible entries. Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetLimit ¶
func (x *ListRequest) GetLimit() uint64
func (*ListRequest) GetNamespace ¶
func (x *ListRequest) GetNamespace() string
func (*ListRequest) GetSkip ¶
func (x *ListRequest) GetSkip() uint64
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type ListResponse ¶
type ListResponse struct { // One of the certificates Certificate *Certificate `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetCertificate ¶
func (x *ListResponse) GetCertificate() *Certificate
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
type RegenerateRequest ¶
type RegenerateRequest struct { // Namespace where certificate is located Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // Unique identifier of the certificate Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*RegenerateRequest) Descriptor
deprecated
func (*RegenerateRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegenerateRequest.ProtoReflect.Descriptor instead.
func (*RegenerateRequest) GetNamespace ¶
func (x *RegenerateRequest) GetNamespace() string
func (*RegenerateRequest) GetUuid ¶
func (x *RegenerateRequest) GetUuid() string
func (*RegenerateRequest) ProtoMessage ¶
func (*RegenerateRequest) ProtoMessage()
func (*RegenerateRequest) ProtoReflect ¶
func (x *RegenerateRequest) ProtoReflect() protoreflect.Message
func (*RegenerateRequest) Reset ¶
func (x *RegenerateRequest) Reset()
func (*RegenerateRequest) String ¶
func (x *RegenerateRequest) String() string
type RegenerateResponse ¶
type RegenerateResponse struct { // New X509 in DER format signed by CA of the service Certificate []byte `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` // contains filtered or unexported fields }
func (*RegenerateResponse) Descriptor
deprecated
func (*RegenerateResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegenerateResponse.ProtoReflect.Descriptor instead.
func (*RegenerateResponse) GetCertificate ¶
func (x *RegenerateResponse) GetCertificate() []byte
func (*RegenerateResponse) ProtoMessage ¶
func (*RegenerateResponse) ProtoMessage()
func (*RegenerateResponse) ProtoReflect ¶
func (x *RegenerateResponse) ProtoReflect() protoreflect.Message
func (*RegenerateResponse) Reset ¶
func (x *RegenerateResponse) Reset()
func (*RegenerateResponse) String ¶
func (x *RegenerateResponse) String() string
type RegisterAndGenerateRequest ¶
type RegisterAndGenerateRequest struct { // Namespace where identity is located and where to generate certificate Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // Identity unique identifier Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // Public key of the identity in the PEN format. Should be generated externaly in order not to share the public key with service. PublicKey []byte `protobuf:"bytes,3,opt,name=publicKey,proto3" json:"publicKey,omitempty"` // Arbitrary, human-readable desription of the certificate Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*RegisterAndGenerateRequest) Descriptor
deprecated
func (*RegisterAndGenerateRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterAndGenerateRequest.ProtoReflect.Descriptor instead.
func (*RegisterAndGenerateRequest) GetDescription ¶
func (x *RegisterAndGenerateRequest) GetDescription() string
func (*RegisterAndGenerateRequest) GetIdentity ¶
func (x *RegisterAndGenerateRequest) GetIdentity() string
func (*RegisterAndGenerateRequest) GetNamespace ¶
func (x *RegisterAndGenerateRequest) GetNamespace() string
func (*RegisterAndGenerateRequest) GetPublicKey ¶
func (x *RegisterAndGenerateRequest) GetPublicKey() []byte
func (*RegisterAndGenerateRequest) ProtoMessage ¶
func (*RegisterAndGenerateRequest) ProtoMessage()
func (*RegisterAndGenerateRequest) ProtoReflect ¶
func (x *RegisterAndGenerateRequest) ProtoReflect() protoreflect.Message
func (*RegisterAndGenerateRequest) Reset ¶
func (x *RegisterAndGenerateRequest) Reset()
func (*RegisterAndGenerateRequest) String ¶
func (x *RegisterAndGenerateRequest) String() string
type RegisterAndGenerateResponse ¶
type RegisterAndGenerateResponse struct { // Certificate in DER format signed by CA of the service Raw []byte `protobuf:"bytes,1,opt,name=raw,proto3" json:"raw,omitempty"` // Certificate information Info *Certificate `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*RegisterAndGenerateResponse) Descriptor
deprecated
func (*RegisterAndGenerateResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterAndGenerateResponse.ProtoReflect.Descriptor instead.
func (*RegisterAndGenerateResponse) GetInfo ¶
func (x *RegisterAndGenerateResponse) GetInfo() *Certificate
func (*RegisterAndGenerateResponse) GetRaw ¶
func (x *RegisterAndGenerateResponse) GetRaw() []byte
func (*RegisterAndGenerateResponse) ProtoMessage ¶
func (*RegisterAndGenerateResponse) ProtoMessage()
func (*RegisterAndGenerateResponse) ProtoReflect ¶
func (x *RegisterAndGenerateResponse) ProtoReflect() protoreflect.Message
func (*RegisterAndGenerateResponse) Reset ¶
func (x *RegisterAndGenerateResponse) Reset()
func (*RegisterAndGenerateResponse) String ¶
func (x *RegisterAndGenerateResponse) String() string
type UnimplementedIAMAuthenticationX509ServiceServer ¶
type UnimplementedIAMAuthenticationX509ServiceServer struct { }
UnimplementedIAMAuthenticationX509ServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedIAMAuthenticationX509ServiceServer) Count ¶
func (UnimplementedIAMAuthenticationX509ServiceServer) Count(context.Context, *CountRequest) (*CountResponse, error)
func (UnimplementedIAMAuthenticationX509ServiceServer) CountForIdentity ¶
func (UnimplementedIAMAuthenticationX509ServiceServer) CountForIdentity(context.Context, *CountForIdentityRequest) (*CountForIdentityResponse, error)
func (UnimplementedIAMAuthenticationX509ServiceServer) Delete ¶
func (UnimplementedIAMAuthenticationX509ServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
func (UnimplementedIAMAuthenticationX509ServiceServer) Disable ¶
func (UnimplementedIAMAuthenticationX509ServiceServer) Disable(context.Context, *DisableRequest) (*DisableResponse, error)
func (UnimplementedIAMAuthenticationX509ServiceServer) Get ¶
func (UnimplementedIAMAuthenticationX509ServiceServer) Get(context.Context, *GetRequest) (*GetResponse, error)
func (UnimplementedIAMAuthenticationX509ServiceServer) GetRootCAInfo ¶
func (UnimplementedIAMAuthenticationX509ServiceServer) GetRootCAInfo(context.Context, *GetRootCAInfoRequest) (*GetRootCAInfoResponse, error)
func (UnimplementedIAMAuthenticationX509ServiceServer) ListForIdentity ¶
func (UnimplementedIAMAuthenticationX509ServiceServer) Regenerate ¶
func (UnimplementedIAMAuthenticationX509ServiceServer) Regenerate(context.Context, *RegenerateRequest) (*RegenerateResponse, error)
func (UnimplementedIAMAuthenticationX509ServiceServer) RegisterAndGenerate ¶
func (UnimplementedIAMAuthenticationX509ServiceServer) RegisterAndGenerate(context.Context, *RegisterAndGenerateRequest) (*RegisterAndGenerateResponse, error)
func (UnimplementedIAMAuthenticationX509ServiceServer) Update ¶
func (UnimplementedIAMAuthenticationX509ServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
func (UnimplementedIAMAuthenticationX509ServiceServer) ValidateAndGetFromRawX509 ¶
func (UnimplementedIAMAuthenticationX509ServiceServer) ValidateAndGetFromRawX509(context.Context, *ValidateAndGetFromRawX509Request) (*ValidateAndGetFromRawX509Response, error)
type UnsafeIAMAuthenticationX509ServiceServer ¶
type UnsafeIAMAuthenticationX509ServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIAMAuthenticationX509ServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IAMAuthenticationX509ServiceServer will result in compilation errors.
type UpdateRequest ¶
type UpdateRequest struct { // Namespace where certificate is located Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // Unique identifier of the certificate Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // New description NewDescription string `protobuf:"bytes,5,opt,name=newDescription,proto3" json:"newDescription,omitempty"` // contains filtered or unexported fields }
func (*UpdateRequest) Descriptor
deprecated
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetNamespace ¶
func (x *UpdateRequest) GetNamespace() string
func (*UpdateRequest) GetNewDescription ¶
func (x *UpdateRequest) GetNewDescription() string
func (*UpdateRequest) GetUuid ¶
func (x *UpdateRequest) GetUuid() string
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶
func (x *UpdateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequest) Reset ¶
func (x *UpdateRequest) Reset()
func (*UpdateRequest) String ¶
func (x *UpdateRequest) String() string
type UpdateResponse ¶
type UpdateResponse struct { // Updated certificate information Certificate *Certificate `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` // contains filtered or unexported fields }
func (*UpdateResponse) Descriptor
deprecated
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) GetCertificate ¶
func (x *UpdateResponse) GetCertificate() *Certificate
func (*UpdateResponse) ProtoMessage ¶
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) ProtoReflect ¶
func (x *UpdateResponse) ProtoReflect() protoreflect.Message
func (*UpdateResponse) Reset ¶
func (x *UpdateResponse) Reset()
func (*UpdateResponse) String ¶
func (x *UpdateResponse) String() string
type ValidateAndGetFromRawX509Request ¶
type ValidateAndGetFromRawX509Request struct { // Certificate in DER format Raw []byte `protobuf:"bytes,1,opt,name=raw,proto3" json:"raw,omitempty"` // contains filtered or unexported fields }
func (*ValidateAndGetFromRawX509Request) Descriptor
deprecated
func (*ValidateAndGetFromRawX509Request) Descriptor() ([]byte, []int)
Deprecated: Use ValidateAndGetFromRawX509Request.ProtoReflect.Descriptor instead.
func (*ValidateAndGetFromRawX509Request) GetRaw ¶
func (x *ValidateAndGetFromRawX509Request) GetRaw() []byte
func (*ValidateAndGetFromRawX509Request) ProtoMessage ¶
func (*ValidateAndGetFromRawX509Request) ProtoMessage()
func (*ValidateAndGetFromRawX509Request) ProtoReflect ¶
func (x *ValidateAndGetFromRawX509Request) ProtoReflect() protoreflect.Message
func (*ValidateAndGetFromRawX509Request) Reset ¶
func (x *ValidateAndGetFromRawX509Request) Reset()
func (*ValidateAndGetFromRawX509Request) String ¶
func (x *ValidateAndGetFromRawX509Request) String() string
type ValidateAndGetFromRawX509Response ¶
type ValidateAndGetFromRawX509Response struct { // Status of the validation and search Status ValidateAndGetFromRawX509Response_Status `` /* 143-byte string literal not displayed */ // Certificate information if status is OK Certificate *Certificate `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"` // contains filtered or unexported fields }
func (*ValidateAndGetFromRawX509Response) Descriptor
deprecated
func (*ValidateAndGetFromRawX509Response) Descriptor() ([]byte, []int)
Deprecated: Use ValidateAndGetFromRawX509Response.ProtoReflect.Descriptor instead.
func (*ValidateAndGetFromRawX509Response) GetCertificate ¶
func (x *ValidateAndGetFromRawX509Response) GetCertificate() *Certificate
func (*ValidateAndGetFromRawX509Response) GetStatus ¶
func (x *ValidateAndGetFromRawX509Response) GetStatus() ValidateAndGetFromRawX509Response_Status
func (*ValidateAndGetFromRawX509Response) ProtoMessage ¶
func (*ValidateAndGetFromRawX509Response) ProtoMessage()
func (*ValidateAndGetFromRawX509Response) ProtoReflect ¶
func (x *ValidateAndGetFromRawX509Response) ProtoReflect() protoreflect.Message
func (*ValidateAndGetFromRawX509Response) Reset ¶
func (x *ValidateAndGetFromRawX509Response) Reset()
func (*ValidateAndGetFromRawX509Response) String ¶
func (x *ValidateAndGetFromRawX509Response) String() string
type ValidateAndGetFromRawX509Response_Status ¶
type ValidateAndGetFromRawX509Response_Status int32
const ( // Everything is ok ValidateAndGetFromRawX509Response_OK ValidateAndGetFromRawX509Response_Status = 0 // Certificate is corrupted or it wasnt supplied in DER format ValidateAndGetFromRawX509Response_INVALID_FORMAT ValidateAndGetFromRawX509Response_Status = 1 // Certificate has invalid signature. ValidateAndGetFromRawX509Response_SIGNATURE_INVALID ValidateAndGetFromRawX509Response_Status = 2 // Cant find certificate. ValidateAndGetFromRawX509Response_NOT_FOUND ValidateAndGetFromRawX509Response_Status = 3 )
func (ValidateAndGetFromRawX509Response_Status) Descriptor ¶
func (ValidateAndGetFromRawX509Response_Status) Descriptor() protoreflect.EnumDescriptor
func (ValidateAndGetFromRawX509Response_Status) EnumDescriptor
deprecated
func (ValidateAndGetFromRawX509Response_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use ValidateAndGetFromRawX509Response_Status.Descriptor instead.
func (ValidateAndGetFromRawX509Response_Status) Number ¶
func (x ValidateAndGetFromRawX509Response_Status) Number() protoreflect.EnumNumber
func (ValidateAndGetFromRawX509Response_Status) String ¶
func (x ValidateAndGetFromRawX509Response_Status) String() string
func (ValidateAndGetFromRawX509Response_Status) Type ¶
func (ValidateAndGetFromRawX509Response_Status) Type() protoreflect.EnumType