Documentation
¶
Index ¶
- Variables
- func RegisterCAServiceServer(s *grpc.Server, srv CAServiceServer)
- func RegisterCIServiceServer(s *grpc.Server, srv CIServiceServer)
- func RegisterStatusServiceServer(s *grpc.Server, srv StatusServiceServer)
- type CAConstraint
- func (*CAConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *CAConstraint) GetIsCa() bool
- func (x *CAConstraint) GetMaxPathLen() int32
- func (*CAConstraint) ProtoMessage()
- func (x *CAConstraint) ProtoReflect() protoreflect.Message
- func (x *CAConstraint) Reset()
- func (x *CAConstraint) String() string
- type CAServiceClient
- type CAServiceServer
- type CIServiceClient
- type CIServiceServer
- type CSRAllowedFields
- func (*CSRAllowedFields) Descriptor() ([]byte, []int)deprecated
- func (x *CSRAllowedFields) GetDns() bool
- func (x *CSRAllowedFields) GetEmail() bool
- func (x *CSRAllowedFields) GetIp() bool
- func (x *CSRAllowedFields) GetSubject() bool
- func (x *CSRAllowedFields) GetUri() bool
- func (*CSRAllowedFields) ProtoMessage()
- func (x *CSRAllowedFields) ProtoReflect() protoreflect.Message
- func (x *CSRAllowedFields) Reset()
- func (x *CSRAllowedFields) String() string
- type CallerStatusResponse
- func (*CallerStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CallerStatusResponse) GetId() string
- func (x *CallerStatusResponse) GetName() string
- func (x *CallerStatusResponse) GetRole() string
- func (*CallerStatusResponse) ProtoMessage()
- func (x *CallerStatusResponse) ProtoReflect() protoreflect.Message
- func (x *CallerStatusResponse) Reset()
- func (x *CallerStatusResponse) String() string
- type CertProfile
- func (*CertProfile) Descriptor() ([]byte, []int)deprecated
- func (x *CertProfile) GetAllowedDns() string
- func (x *CertProfile) GetAllowedEmail() string
- func (x *CertProfile) GetAllowedExtensions() []string
- func (x *CertProfile) GetAllowedFields() *CSRAllowedFields
- func (x *CertProfile) GetAllowedNames() string
- func (x *CertProfile) GetAllowedUri() string
- func (x *CertProfile) GetBackdate() string
- func (x *CertProfile) GetCaConstraint() *CAConstraint
- func (x *CertProfile) GetDescription() string
- func (x *CertProfile) GetExpiry() string
- func (x *CertProfile) GetOcspNoCheck() bool
- func (x *CertProfile) GetUsages() []string
- func (*CertProfile) ProtoMessage()
- func (x *CertProfile) ProtoReflect() protoreflect.Message
- func (x *CertProfile) Reset()
- func (x *CertProfile) String() string
- type CertProfileInfo
- func (*CertProfileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CertProfileInfo) GetIssuer() string
- func (x *CertProfileInfo) GetProfile() *CertProfile
- func (*CertProfileInfo) ProtoMessage()
- func (x *CertProfileInfo) ProtoReflect() protoreflect.Message
- func (x *CertProfileInfo) Reset()
- func (x *CertProfileInfo) String() string
- type CertProfileInfoRequest
- func (*CertProfileInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CertProfileInfoRequest) GetLabel() string
- func (x *CertProfileInfoRequest) GetProfile() string
- func (*CertProfileInfoRequest) ProtoMessage()
- func (x *CertProfileInfoRequest) ProtoReflect() protoreflect.Message
- func (x *CertProfileInfoRequest) Reset()
- func (x *CertProfileInfoRequest) String() string
- type Certificate
- func (*Certificate) Descriptor() ([]byte, []int)deprecated
- func (x *Certificate) GetId() uint64
- func (x *Certificate) GetIkid() string
- func (x *Certificate) GetIssuer() string
- func (x *Certificate) GetIssuersPem() string
- func (x *Certificate) GetLocations() []string
- func (x *Certificate) GetNotAfter() *timestamp.Timestamp
- func (x *Certificate) GetNotBefore() *timestamp.Timestamp
- func (x *Certificate) GetOrgId() uint64
- func (x *Certificate) GetPem() string
- func (x *Certificate) GetProfile() string
- func (x *Certificate) GetSerialNumber() string
- func (x *Certificate) GetSha256() string
- func (x *Certificate) GetSkid() string
- func (x *Certificate) GetSubject() string
- func (*Certificate) ProtoMessage()
- func (x *Certificate) ProtoReflect() protoreflect.Message
- func (x *Certificate) Reset()
- func (x *Certificate) String() string
- type CertificateBundle
- func (*CertificateBundle) Descriptor() ([]byte, []int)deprecated
- func (x *CertificateBundle) GetCertificate() string
- func (x *CertificateBundle) GetIntermediates() string
- func (x *CertificateBundle) GetRoot() string
- func (*CertificateBundle) ProtoMessage()
- func (x *CertificateBundle) ProtoReflect() protoreflect.Message
- func (x *CertificateBundle) Reset()
- func (x *CertificateBundle) String() string
- type CertificateResponse
- func (*CertificateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CertificateResponse) GetCertificate() *Certificate
- func (*CertificateResponse) ProtoMessage()
- func (x *CertificateResponse) ProtoReflect() protoreflect.Message
- func (x *CertificateResponse) Reset()
- func (x *CertificateResponse) String() string
- type CertificatesResponse
- func (*CertificatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CertificatesResponse) GetList() []*Certificate
- func (*CertificatesResponse) ProtoMessage()
- func (x *CertificatesResponse) ProtoReflect() protoreflect.Message
- func (x *CertificatesResponse) Reset()
- func (x *CertificatesResponse) String() string
- type Crl
- func (*Crl) Descriptor() ([]byte, []int)deprecated
- func (x *Crl) GetId() uint64
- func (x *Crl) GetIkid() string
- func (x *Crl) GetIssuer() string
- func (x *Crl) GetNextUpdate() *timestamp.Timestamp
- func (x *Crl) GetPem() string
- func (x *Crl) GetThisUpdate() *timestamp.Timestamp
- func (*Crl) ProtoMessage()
- func (x *Crl) ProtoReflect() protoreflect.Message
- func (x *Crl) Reset()
- func (x *Crl) String() string
- type CrlsResponse
- type EncodingFormat
- func (EncodingFormat) Descriptor() protoreflect.EnumDescriptor
- func (x EncodingFormat) Enum() *EncodingFormat
- func (EncodingFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x EncodingFormat) Number() protoreflect.EnumNumber
- func (x EncodingFormat) String() string
- func (EncodingFormat) Type() protoreflect.EnumType
- type Error
- type GetCertificateRequest
- func (*GetCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCertificateRequest) GetId() uint64
- func (x *GetCertificateRequest) GetSkid() string
- func (*GetCertificateRequest) ProtoMessage()
- func (x *GetCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *GetCertificateRequest) Reset()
- func (x *GetCertificateRequest) String() string
- type GetOrgCertificatesRequest
- func (*GetOrgCertificatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrgCertificatesRequest) GetOrgId() uint64
- func (*GetOrgCertificatesRequest) ProtoMessage()
- func (x *GetOrgCertificatesRequest) ProtoReflect() protoreflect.Message
- func (x *GetOrgCertificatesRequest) Reset()
- func (x *GetOrgCertificatesRequest) String() string
- type IssuerInfo
- func (*IssuerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *IssuerInfo) GetCertificate() string
- func (x *IssuerInfo) GetIntermediates() string
- func (x *IssuerInfo) GetLabel() string
- func (x *IssuerInfo) GetRoot() string
- func (*IssuerInfo) ProtoMessage()
- func (x *IssuerInfo) ProtoReflect() protoreflect.Message
- func (x *IssuerInfo) Reset()
- func (x *IssuerInfo) String() string
- type IssuersInfoResponse
- func (*IssuersInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IssuersInfoResponse) GetIssuers() []*IssuerInfo
- func (*IssuersInfoResponse) ProtoMessage()
- func (x *IssuersInfoResponse) ProtoReflect() protoreflect.Message
- func (x *IssuersInfoResponse) Reset()
- func (x *IssuersInfoResponse) String() string
- type ListByIssuerRequest
- func (*ListByIssuerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListByIssuerRequest) GetAfter() uint64
- func (x *ListByIssuerRequest) GetIkid() string
- func (x *ListByIssuerRequest) GetLimit() int64
- func (*ListByIssuerRequest) ProtoMessage()
- func (x *ListByIssuerRequest) ProtoReflect() protoreflect.Message
- func (x *ListByIssuerRequest) Reset()
- func (x *ListByIssuerRequest) String() string
- type PublishCrlsRequest
- func (*PublishCrlsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublishCrlsRequest) GetIkid() string
- func (*PublishCrlsRequest) ProtoMessage()
- func (x *PublishCrlsRequest) ProtoReflect() protoreflect.Message
- func (x *PublishCrlsRequest) Reset()
- func (x *PublishCrlsRequest) String() string
- type Reason
- type RevokeCertificateRequest
- func (*RevokeCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeCertificateRequest) GetId() uint64
- func (x *RevokeCertificateRequest) GetReason() Reason
- func (x *RevokeCertificateRequest) GetSkid() string
- func (*RevokeCertificateRequest) ProtoMessage()
- func (x *RevokeCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeCertificateRequest) Reset()
- func (x *RevokeCertificateRequest) String() string
- type RevokedCertificate
- func (*RevokedCertificate) Descriptor() ([]byte, []int)deprecated
- func (x *RevokedCertificate) GetCertificate() *Certificate
- func (x *RevokedCertificate) GetReason() Reason
- func (x *RevokedCertificate) GetRevokedAt() *timestamp.Timestamp
- func (*RevokedCertificate) ProtoMessage()
- func (x *RevokedCertificate) ProtoReflect() protoreflect.Message
- func (x *RevokedCertificate) Reset()
- func (x *RevokedCertificate) String() string
- type RevokedCertificateResponse
- func (*RevokedCertificateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevokedCertificateResponse) GetRevoked() *RevokedCertificate
- func (*RevokedCertificateResponse) ProtoMessage()
- func (x *RevokedCertificateResponse) ProtoReflect() protoreflect.Message
- func (x *RevokedCertificateResponse) Reset()
- func (x *RevokedCertificateResponse) String() string
- type RevokedCertificatesResponse
- func (*RevokedCertificatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevokedCertificatesResponse) GetList() []*RevokedCertificate
- func (*RevokedCertificatesResponse) ProtoMessage()
- func (x *RevokedCertificatesResponse) ProtoReflect() protoreflect.Message
- func (x *RevokedCertificatesResponse) Reset()
- func (x *RevokedCertificatesResponse) String() string
- type RootCertificate
- func (*RootCertificate) Descriptor() ([]byte, []int)deprecated
- func (x *RootCertificate) GetId() uint64
- func (x *RootCertificate) GetNotAfter() *timestamp.Timestamp
- func (x *RootCertificate) GetNotBefore() *timestamp.Timestamp
- func (x *RootCertificate) GetPem() string
- func (x *RootCertificate) GetSha256() string
- func (x *RootCertificate) GetSkid() string
- func (x *RootCertificate) GetSubject() string
- func (x *RootCertificate) GetTrust() Trust
- func (*RootCertificate) ProtoMessage()
- func (x *RootCertificate) ProtoReflect() protoreflect.Message
- func (x *RootCertificate) Reset()
- func (x *RootCertificate) String() string
- type RootsResponse
- type ServerStatus
- func (*ServerStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ServerStatus) GetHostname() string
- func (x *ServerStatus) GetListenUrls() []string
- func (x *ServerStatus) GetName() string
- func (x *ServerStatus) GetNodename() string
- func (x *ServerStatus) GetStartedAt() *timestamp.Timestamp
- func (*ServerStatus) ProtoMessage()
- func (x *ServerStatus) ProtoReflect() protoreflect.Message
- func (x *ServerStatus) Reset()
- func (x *ServerStatus) String() string
- type ServerStatusResponse
- func (*ServerStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServerStatusResponse) GetStatus() *ServerStatus
- func (x *ServerStatusResponse) GetVersion() *ServerVersion
- func (*ServerStatusResponse) ProtoMessage()
- func (x *ServerStatusResponse) ProtoReflect() protoreflect.Message
- func (x *ServerStatusResponse) Reset()
- func (x *ServerStatusResponse) String() string
- type ServerVersion
- func (*ServerVersion) Descriptor() ([]byte, []int)deprecated
- func (x *ServerVersion) GetBuild() string
- func (x *ServerVersion) GetRuntime() string
- func (*ServerVersion) ProtoMessage()
- func (x *ServerVersion) ProtoReflect() protoreflect.Message
- func (x *ServerVersion) Reset()
- func (x *ServerVersion) String() string
- type SignCertificateRequest
- func (*SignCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignCertificateRequest) GetIssuerLabel() string
- func (x *SignCertificateRequest) GetNotAfter() *timestamp.Timestamp
- func (x *SignCertificateRequest) GetNotBefore() *timestamp.Timestamp
- func (x *SignCertificateRequest) GetOrgId() uint64
- func (x *SignCertificateRequest) GetProfile() string
- func (x *SignCertificateRequest) GetRequest() []byte
- func (x *SignCertificateRequest) GetRequestFormat() EncodingFormat
- func (x *SignCertificateRequest) GetSan() []string
- func (x *SignCertificateRequest) GetSubject() *X509Subject
- func (x *SignCertificateRequest) GetToken() string
- func (*SignCertificateRequest) ProtoMessage()
- func (x *SignCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *SignCertificateRequest) Reset()
- func (x *SignCertificateRequest) String() string
- type StatusServiceClient
- type StatusServiceServer
- type Trust
- type UnimplementedCAServiceServer
- func (*UnimplementedCAServiceServer) Issuers(context.Context, *empty.Empty) (*IssuersInfoResponse, error)
- func (*UnimplementedCAServiceServer) ProfileInfo(context.Context, *CertProfileInfoRequest) (*CertProfileInfo, error)
- func (*UnimplementedCAServiceServer) PublishCrls(context.Context, *PublishCrlsRequest) (*CrlsResponse, error)
- func (*UnimplementedCAServiceServer) RevokeCertificate(context.Context, *RevokeCertificateRequest) (*RevokedCertificateResponse, error)
- func (*UnimplementedCAServiceServer) SignCertificate(context.Context, *SignCertificateRequest) (*CertificateResponse, error)
- type UnimplementedCIServiceServer
- func (*UnimplementedCIServiceServer) GetCertificate(context.Context, *GetCertificateRequest) (*CertificateResponse, error)
- func (*UnimplementedCIServiceServer) GetOrgCertificates(context.Context, *GetOrgCertificatesRequest) (*CertificatesResponse, error)
- func (*UnimplementedCIServiceServer) GetRoots(context.Context, *empty.Empty) (*RootsResponse, error)
- func (*UnimplementedCIServiceServer) ListCertificates(context.Context, *ListByIssuerRequest) (*CertificatesResponse, error)
- func (*UnimplementedCIServiceServer) ListRevokedCertificates(context.Context, *ListByIssuerRequest) (*RevokedCertificatesResponse, error)
- type UnimplementedStatusServiceServer
- func (*UnimplementedStatusServiceServer) Caller(context.Context, *empty.Empty) (*CallerStatusResponse, error)
- func (*UnimplementedStatusServiceServer) Server(context.Context, *empty.Empty) (*ServerStatusResponse, error)
- func (*UnimplementedStatusServiceServer) Version(context.Context, *empty.Empty) (*ServerVersion, error)
- type X509Name
- func (*X509Name) Descriptor() ([]byte, []int)deprecated
- func (x *X509Name) GetCountry() string
- func (x *X509Name) GetLocality() string
- func (x *X509Name) GetOrganisation() string
- func (x *X509Name) GetOrganisationalUnit() string
- func (x *X509Name) GetState() string
- func (*X509Name) ProtoMessage()
- func (x *X509Name) ProtoReflect() protoreflect.Message
- func (x *X509Name) Reset()
- func (x *X509Name) String() string
- type X509Subject
- func (*X509Subject) Descriptor() ([]byte, []int)deprecated
- func (x *X509Subject) GetCommonName() string
- func (x *X509Subject) GetNames() []*X509Name
- func (x *X509Subject) GetSerialNumber() string
- func (*X509Subject) ProtoMessage()
- func (x *X509Subject) ProtoReflect() protoreflect.Message
- func (x *X509Subject) Reset()
- func (x *X509Subject) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Trust_name = map[int32]string{ 0: "Any", 1: "Public", 2: "Private", } Trust_value = map[string]int32{ "Any": 0, "Public": 1, "Private": 2, } )
Enum value maps for Trust.
var ( EncodingFormat_name = map[int32]string{ 0: "PEM", 1: "DER", 2: "PKCS7", } EncodingFormat_value = map[string]int32{ "PEM": 0, "DER": 1, "PKCS7": 2, } )
Enum value maps for EncodingFormat.
var ( Reason_name = map[int32]string{ 0: "UNSPECIFIED", 1: "KEY_COMPROMISE", 2: "CA_COMPROMISE", 3: "AFFILIATION_CHANGED", 4: "SUPERSEDED", 5: "CESSATION_OF_OPERATION", 6: "CERTIFICATE_HOLD", 8: "REMOVE_FROM_CRL", 9: "PRIVILEGE_WITHDRAWN", 10: "AA_COMPROMISE", } Reason_value = map[string]int32{ "UNSPECIFIED": 0, "KEY_COMPROMISE": 1, "CA_COMPROMISE": 2, "AFFILIATION_CHANGED": 3, "SUPERSEDED": 4, "CESSATION_OF_OPERATION": 5, "CERTIFICATE_HOLD": 6, "REMOVE_FROM_CRL": 8, "PRIVILEGE_WITHDRAWN": 9, "AA_COMPROMISE": 10, } )
Enum value maps for Reason.
var File_ca_proto protoreflect.FileDescriptor
var File_cis_proto protoreflect.FileDescriptor
var File_pkix_proto protoreflect.FileDescriptor
var File_rpc_proto protoreflect.FileDescriptor
var File_status_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCAServiceServer ¶
func RegisterCAServiceServer(s *grpc.Server, srv CAServiceServer)
func RegisterCIServiceServer ¶
func RegisterCIServiceServer(s *grpc.Server, srv CIServiceServer)
func RegisterStatusServiceServer ¶
func RegisterStatusServiceServer(s *grpc.Server, srv StatusServiceServer)
Types ¶
type CAConstraint ¶
type CAConstraint struct { IsCa bool `protobuf:"varint,1,opt,name=is_ca,json=isCa,proto3" json:"is_ca,omitempty"` MaxPathLen int32 `protobuf:"varint,2,opt,name=max_path_len,json=maxPathLen,proto3" json:"max_path_len,omitempty"` // contains filtered or unexported fields }
CAConstraint specifies various CA constraints on the signed certificate. CAConstraint would verify against (and override) the CA extensions in the given CSR.
func (*CAConstraint) Descriptor
deprecated
func (*CAConstraint) Descriptor() ([]byte, []int)
Deprecated: Use CAConstraint.ProtoReflect.Descriptor instead.
func (*CAConstraint) GetIsCa ¶
func (x *CAConstraint) GetIsCa() bool
func (*CAConstraint) GetMaxPathLen ¶
func (x *CAConstraint) GetMaxPathLen() int32
func (*CAConstraint) ProtoMessage ¶
func (*CAConstraint) ProtoMessage()
func (*CAConstraint) ProtoReflect ¶
func (x *CAConstraint) ProtoReflect() protoreflect.Message
func (*CAConstraint) Reset ¶
func (x *CAConstraint) Reset()
func (*CAConstraint) String ¶
func (x *CAConstraint) String() string
type CAServiceClient ¶
type CAServiceClient interface { // ProfileInfo returns the certificate profile info ProfileInfo(ctx context.Context, in *CertProfileInfoRequest, opts ...grpc.CallOption) (*CertProfileInfo, error) // Issuers returns the issuing CAs Issuers(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*IssuersInfoResponse, error) // SignCertificate returns the certificate SignCertificate(ctx context.Context, in *SignCertificateRequest, opts ...grpc.CallOption) (*CertificateResponse, error) // PublishCrls returns published CRLs PublishCrls(ctx context.Context, in *PublishCrlsRequest, opts ...grpc.CallOption) (*CrlsResponse, error) // RevokeCertificate returns the revoked certificate RevokeCertificate(ctx context.Context, in *RevokeCertificateRequest, opts ...grpc.CallOption) (*RevokedCertificateResponse, error) }
CAServiceClient is the client API for CAService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCAServiceClient ¶
func NewCAServiceClient(cc grpc.ClientConnInterface) CAServiceClient
type CAServiceServer ¶
type CAServiceServer interface { // ProfileInfo returns the certificate profile info ProfileInfo(context.Context, *CertProfileInfoRequest) (*CertProfileInfo, error) // Issuers returns the issuing CAs Issuers(context.Context, *empty.Empty) (*IssuersInfoResponse, error) // SignCertificate returns the certificate SignCertificate(context.Context, *SignCertificateRequest) (*CertificateResponse, error) // PublishCrls returns published CRLs PublishCrls(context.Context, *PublishCrlsRequest) (*CrlsResponse, error) // RevokeCertificate returns the revoked certificate RevokeCertificate(context.Context, *RevokeCertificateRequest) (*RevokedCertificateResponse, error) }
CAServiceServer is the server API for CAService service.
type CIServiceClient ¶
type CIServiceClient interface { // Roots returns the root CAs GetRoots(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*RootsResponse, error) // GetCertificate returns the certificate GetCertificate(ctx context.Context, in *GetCertificateRequest, opts ...grpc.CallOption) (*CertificateResponse, error) // GetOrgCertificates returns the Org certificates GetOrgCertificates(ctx context.Context, in *GetOrgCertificatesRequest, opts ...grpc.CallOption) (*CertificatesResponse, error) // ListCertificates returns stream of Certificates ListCertificates(ctx context.Context, in *ListByIssuerRequest, opts ...grpc.CallOption) (*CertificatesResponse, error) // ListRevokedCertificates returns stream of Revoked Certificates ListRevokedCertificates(ctx context.Context, in *ListByIssuerRequest, opts ...grpc.CallOption) (*RevokedCertificatesResponse, error) }
CIServiceClient is the client API for CIService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCIServiceClient ¶
func NewCIServiceClient(cc grpc.ClientConnInterface) CIServiceClient
type CIServiceServer ¶
type CIServiceServer interface { // Roots returns the root CAs GetRoots(context.Context, *empty.Empty) (*RootsResponse, error) // GetCertificate returns the certificate GetCertificate(context.Context, *GetCertificateRequest) (*CertificateResponse, error) // GetOrgCertificates returns the Org certificates GetOrgCertificates(context.Context, *GetOrgCertificatesRequest) (*CertificatesResponse, error) // ListCertificates returns stream of Certificates ListCertificates(context.Context, *ListByIssuerRequest) (*CertificatesResponse, error) // ListRevokedCertificates returns stream of Revoked Certificates ListRevokedCertificates(context.Context, *ListByIssuerRequest) (*RevokedCertificatesResponse, error) }
CIServiceServer is the server API for CIService service.
type CSRAllowedFields ¶
type CSRAllowedFields struct { Subject bool `protobuf:"varint,1,opt,name=subject,proto3" json:"subject,omitempty"` Dns bool `protobuf:"varint,2,opt,name=dns,proto3" json:"dns,omitempty"` Ip bool `protobuf:"varint,3,opt,name=ip,proto3" json:"ip,omitempty"` Email bool `protobuf:"varint,4,opt,name=email,proto3" json:"email,omitempty"` Uri bool `protobuf:"varint,5,opt,name=uri,proto3" json:"uri,omitempty"` // contains filtered or unexported fields }
func (*CSRAllowedFields) Descriptor
deprecated
func (*CSRAllowedFields) Descriptor() ([]byte, []int)
Deprecated: Use CSRAllowedFields.ProtoReflect.Descriptor instead.
func (*CSRAllowedFields) GetDns ¶
func (x *CSRAllowedFields) GetDns() bool
func (*CSRAllowedFields) GetEmail ¶
func (x *CSRAllowedFields) GetEmail() bool
func (*CSRAllowedFields) GetIp ¶
func (x *CSRAllowedFields) GetIp() bool
func (*CSRAllowedFields) GetSubject ¶
func (x *CSRAllowedFields) GetSubject() bool
func (*CSRAllowedFields) GetUri ¶
func (x *CSRAllowedFields) GetUri() bool
func (*CSRAllowedFields) ProtoMessage ¶
func (*CSRAllowedFields) ProtoMessage()
func (*CSRAllowedFields) ProtoReflect ¶
func (x *CSRAllowedFields) ProtoReflect() protoreflect.Message
func (*CSRAllowedFields) Reset ¶
func (x *CSRAllowedFields) Reset()
func (*CSRAllowedFields) String ¶
func (x *CSRAllowedFields) String() string
type CallerStatusResponse ¶
type CallerStatusResponse struct { // Id of the caller. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name of the caller. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Role of the caller. Role string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
CallerStatusResponse returns the caller information
func (*CallerStatusResponse) Descriptor
deprecated
func (*CallerStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use CallerStatusResponse.ProtoReflect.Descriptor instead.
func (*CallerStatusResponse) GetId ¶
func (x *CallerStatusResponse) GetId() string
func (*CallerStatusResponse) GetName ¶
func (x *CallerStatusResponse) GetName() string
func (*CallerStatusResponse) GetRole ¶
func (x *CallerStatusResponse) GetRole() string
func (*CallerStatusResponse) ProtoMessage ¶
func (*CallerStatusResponse) ProtoMessage()
func (*CallerStatusResponse) ProtoReflect ¶
func (x *CallerStatusResponse) ProtoReflect() protoreflect.Message
func (*CallerStatusResponse) Reset ¶
func (x *CallerStatusResponse) Reset()
func (*CallerStatusResponse) String ¶
func (x *CallerStatusResponse) String() string
type CertProfile ¶
type CertProfile struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // Usage provides a list key usages Usages []string `protobuf:"bytes,2,rep,name=usages,proto3" json:"usages,omitempty"` CaConstraint *CAConstraint `protobuf:"bytes,3,opt,name=ca_constraint,json=caConstraint,proto3" json:"ca_constraint,omitempty"` OcspNoCheck bool `protobuf:"varint,4,opt,name=ocsp_no_check,json=ocspNoCheck,proto3" json:"ocsp_no_check,omitempty"` Expiry string `protobuf:"bytes,5,opt,name=expiry,proto3" json:"expiry,omitempty"` Backdate string `protobuf:"bytes,6,opt,name=backdate,proto3" json:"backdate,omitempty"` AllowedExtensions []string `protobuf:"bytes,7,rep,name=allowed_extensions,json=allowedExtensions,proto3" json:"allowed_extensions,omitempty"` // AllowedNames specifies a RegExp to check for allowed names. // If not provided, then all values are allowed AllowedNames string `protobuf:"bytes,8,opt,name=allowed_names,json=allowedNames,proto3" json:"allowed_names,omitempty"` // AllowedDns specifies a RegExp to check for allowed DNS. // If not provided, then all values are allowed AllowedDns string `protobuf:"bytes,9,opt,name=allowed_dns,json=allowedDns,proto3" json:"allowed_dns,omitempty"` // AllowedEmail specifies a RegExp to check for allowed email. // If not provided, then all values are allowed AllowedEmail string `protobuf:"bytes,10,opt,name=allowed_email,json=allowedEmail,proto3" json:"allowed_email,omitempty"` // AllowedUri specifies a RegExp to check for allowed URI. // If not provided, then all values are allowed AllowedUri string `protobuf:"bytes,11,opt,name=allowed_uri,json=allowedUri,proto3" json:"allowed_uri,omitempty"` // AllowedFields provides booleans for fields in the CSR. // If a AllowedFields is not present in a CertProfile, // all of these fields may be copied from the CSR into the signed certificate. // If a AllowedFields *is* present in a CertProfile, // only those fields with a `true` value in the AllowedFields may // be copied from the CSR to the signed certificate. // Note that some of these fields, like Subject, can be provided or // partially provided through the API. // Since API clients are expected to be trusted, but CSRs are not, fields // provided through the API are not subject to validation through this // mechanism. AllowedFields *CSRAllowedFields `protobuf:"bytes,12,opt,name=allowed_fields,json=allowedFields,proto3" json:"allowed_fields,omitempty"` // contains filtered or unexported fields }
CertProfile provides certificate profile
func (*CertProfile) Descriptor
deprecated
func (*CertProfile) Descriptor() ([]byte, []int)
Deprecated: Use CertProfile.ProtoReflect.Descriptor instead.
func (*CertProfile) GetAllowedDns ¶
func (x *CertProfile) GetAllowedDns() string
func (*CertProfile) GetAllowedEmail ¶
func (x *CertProfile) GetAllowedEmail() string
func (*CertProfile) GetAllowedExtensions ¶
func (x *CertProfile) GetAllowedExtensions() []string
func (*CertProfile) GetAllowedFields ¶
func (x *CertProfile) GetAllowedFields() *CSRAllowedFields
func (*CertProfile) GetAllowedNames ¶
func (x *CertProfile) GetAllowedNames() string
func (*CertProfile) GetAllowedUri ¶
func (x *CertProfile) GetAllowedUri() string
func (*CertProfile) GetBackdate ¶
func (x *CertProfile) GetBackdate() string
func (*CertProfile) GetCaConstraint ¶
func (x *CertProfile) GetCaConstraint() *CAConstraint
func (*CertProfile) GetDescription ¶
func (x *CertProfile) GetDescription() string
func (*CertProfile) GetExpiry ¶
func (x *CertProfile) GetExpiry() string
func (*CertProfile) GetOcspNoCheck ¶
func (x *CertProfile) GetOcspNoCheck() bool
func (*CertProfile) GetUsages ¶
func (x *CertProfile) GetUsages() []string
func (*CertProfile) ProtoMessage ¶
func (*CertProfile) ProtoMessage()
func (*CertProfile) ProtoReflect ¶
func (x *CertProfile) ProtoReflect() protoreflect.Message
func (*CertProfile) Reset ¶
func (x *CertProfile) Reset()
func (*CertProfile) String ¶
func (x *CertProfile) String() string
type CertProfileInfo ¶
type CertProfileInfo struct { Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` Profile *CertProfile `protobuf:"bytes,3,opt,name=profile,proto3" json:"profile,omitempty"` // contains filtered or unexported fields }
CertProfileInfo is the response for an Profile Info API request
func (*CertProfileInfo) Descriptor
deprecated
func (*CertProfileInfo) Descriptor() ([]byte, []int)
Deprecated: Use CertProfileInfo.ProtoReflect.Descriptor instead.
func (*CertProfileInfo) GetIssuer ¶
func (x *CertProfileInfo) GetIssuer() string
func (*CertProfileInfo) GetProfile ¶
func (x *CertProfileInfo) GetProfile() *CertProfile
func (*CertProfileInfo) ProtoMessage ¶
func (*CertProfileInfo) ProtoMessage()
func (*CertProfileInfo) ProtoReflect ¶
func (x *CertProfileInfo) ProtoReflect() protoreflect.Message
func (*CertProfileInfo) Reset ¶
func (x *CertProfileInfo) Reset()
func (*CertProfileInfo) String ¶
func (x *CertProfileInfo) String() string
type CertProfileInfoRequest ¶
type CertProfileInfoRequest struct { Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` Profile string `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"` // contains filtered or unexported fields }
func (*CertProfileInfoRequest) Descriptor
deprecated
func (*CertProfileInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use CertProfileInfoRequest.ProtoReflect.Descriptor instead.
func (*CertProfileInfoRequest) GetLabel ¶
func (x *CertProfileInfoRequest) GetLabel() string
func (*CertProfileInfoRequest) GetProfile ¶
func (x *CertProfileInfoRequest) GetProfile() string
func (*CertProfileInfoRequest) ProtoMessage ¶
func (*CertProfileInfoRequest) ProtoMessage()
func (*CertProfileInfoRequest) ProtoReflect ¶
func (x *CertProfileInfoRequest) ProtoReflect() protoreflect.Message
func (*CertProfileInfoRequest) Reset ¶
func (x *CertProfileInfoRequest) Reset()
func (*CertProfileInfoRequest) String ¶
func (x *CertProfileInfoRequest) String() string
type Certificate ¶
type Certificate struct { // Id of the certificate Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // OrgId of the certificate, only used with Org scope OrgId uint64 `protobuf:"varint,2,opt,name=org_id,proto3" json:"org_id,omitempty"` // Skid provides Subject Key Identifier Skid string `protobuf:"bytes,3,opt,name=skid,proto3" json:"skid,omitempty"` // Ikid provides Issuer Key Identifier Ikid string `protobuf:"bytes,4,opt,name=ikid,proto3" json:"ikid,omitempty"` // SerialNumber provides Serial Number SerialNumber string `protobuf:"bytes,5,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` // NotBefore is the time when the validity period starts NotBefore *timestamp.Timestamp `protobuf:"bytes,6,opt,name=not_before,proto3" json:"not_before,omitempty"` // NotAfter is the time when the validity period starts NotAfter *timestamp.Timestamp `protobuf:"bytes,7,opt,name=not_after,proto3" json:"not_after,omitempty"` // Subject name Subject string `protobuf:"bytes,8,opt,name=subject,proto3" json:"subject,omitempty"` // Issuer name Issuer string `protobuf:"bytes,9,opt,name=issuer,proto3" json:"issuer,omitempty"` // SHA256 thnumbprint of the cert Sha256 string `protobuf:"bytes,10,opt,name=sha256,proto3" json:"sha256,omitempty"` // Profile of the certificate Profile string `protobuf:"bytes,11,opt,name=profile,proto3" json:"profile,omitempty"` // Pem encoded certificate Pem string `protobuf:"bytes,12,opt,name=pem,proto3" json:"pem,omitempty"` // IssuersPem provides PEM encoded issuers IssuersPem string `protobuf:"bytes,13,opt,name=issuers_pem,proto3" json:"issuers_pem,omitempty"` // Locations of published certificate Locations []string `protobuf:"bytes,14,rep,name=locations,proto3" json:"locations,omitempty"` // contains filtered or unexported fields }
Certificate provides X509 Certificate information
func (*Certificate) Descriptor
deprecated
func (*Certificate) Descriptor() ([]byte, []int)
Deprecated: Use Certificate.ProtoReflect.Descriptor instead.
func (*Certificate) GetId ¶
func (x *Certificate) GetId() uint64
func (*Certificate) GetIkid ¶
func (x *Certificate) GetIkid() string
func (*Certificate) GetIssuer ¶
func (x *Certificate) GetIssuer() string
func (*Certificate) GetIssuersPem ¶
func (x *Certificate) GetIssuersPem() string
func (*Certificate) GetLocations ¶
func (x *Certificate) GetLocations() []string
func (*Certificate) GetNotAfter ¶
func (x *Certificate) GetNotAfter() *timestamp.Timestamp
func (*Certificate) GetNotBefore ¶
func (x *Certificate) GetNotBefore() *timestamp.Timestamp
func (*Certificate) GetOrgId ¶
func (x *Certificate) GetOrgId() uint64
func (*Certificate) GetPem ¶
func (x *Certificate) GetPem() string
func (*Certificate) GetProfile ¶
func (x *Certificate) GetProfile() string
func (*Certificate) GetSerialNumber ¶
func (x *Certificate) GetSerialNumber() string
func (*Certificate) GetSha256 ¶
func (x *Certificate) GetSha256() string
func (*Certificate) GetSkid ¶
func (x *Certificate) GetSkid() string
func (*Certificate) GetSubject ¶
func (x *Certificate) GetSubject() string
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 CertificateBundle ¶
type CertificateBundle struct { // Certificate provides the certificate in PEM format Certificate string `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` // Intermediates provides the intermediate CA certificates bundle in PEM format Intermediates string `protobuf:"bytes,2,opt,name=intermediates,proto3" json:"intermediates,omitempty"` // Root provides the Root CA certifica in PEM format Root string `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"` // contains filtered or unexported fields }
CertificateBundle provides certificate and its issuers
func (*CertificateBundle) Descriptor
deprecated
func (*CertificateBundle) Descriptor() ([]byte, []int)
Deprecated: Use CertificateBundle.ProtoReflect.Descriptor instead.
func (*CertificateBundle) GetCertificate ¶
func (x *CertificateBundle) GetCertificate() string
func (*CertificateBundle) GetIntermediates ¶
func (x *CertificateBundle) GetIntermediates() string
func (*CertificateBundle) GetRoot ¶
func (x *CertificateBundle) GetRoot() string
func (*CertificateBundle) ProtoMessage ¶
func (*CertificateBundle) ProtoMessage()
func (*CertificateBundle) ProtoReflect ¶
func (x *CertificateBundle) ProtoReflect() protoreflect.Message
func (*CertificateBundle) Reset ¶
func (x *CertificateBundle) Reset()
func (*CertificateBundle) String ¶
func (x *CertificateBundle) String() string
type CertificateResponse ¶
type CertificateResponse struct { Certificate *Certificate `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` // contains filtered or unexported fields }
CertificateResponse returns Certificate
func (*CertificateResponse) Descriptor
deprecated
func (*CertificateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CertificateResponse.ProtoReflect.Descriptor instead.
func (*CertificateResponse) GetCertificate ¶
func (x *CertificateResponse) GetCertificate() *Certificate
func (*CertificateResponse) ProtoMessage ¶
func (*CertificateResponse) ProtoMessage()
func (*CertificateResponse) ProtoReflect ¶
func (x *CertificateResponse) ProtoReflect() protoreflect.Message
func (*CertificateResponse) Reset ¶
func (x *CertificateResponse) Reset()
func (*CertificateResponse) String ¶
func (x *CertificateResponse) String() string
type CertificatesResponse ¶
type CertificatesResponse struct { List []*Certificate `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
CertificatesResponse returns Certificates list
func (*CertificatesResponse) Descriptor
deprecated
func (*CertificatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use CertificatesResponse.ProtoReflect.Descriptor instead.
func (*CertificatesResponse) GetList ¶
func (x *CertificatesResponse) GetList() []*Certificate
func (*CertificatesResponse) ProtoMessage ¶
func (*CertificatesResponse) ProtoMessage()
func (*CertificatesResponse) ProtoReflect ¶
func (x *CertificatesResponse) ProtoReflect() protoreflect.Message
func (*CertificatesResponse) Reset ¶
func (x *CertificatesResponse) Reset()
func (*CertificatesResponse) String ¶
func (x *CertificatesResponse) String() string
type Crl ¶
type Crl struct { // Id of the CRL Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Ikid provides Issuer Key Identifier Ikid string `protobuf:"bytes,2,opt,name=ikid,proto3" json:"ikid,omitempty"` // ThisUpdate is the time when the CRL was issued ThisUpdate *timestamp.Timestamp `protobuf:"bytes,3,opt,name=this_update,proto3" json:"this_update,omitempty"` // NextUpdate is the time for the next update NextUpdate *timestamp.Timestamp `protobuf:"bytes,4,opt,name=next_update,proto3" json:"next_update,omitempty"` // Issuer name Issuer string `protobuf:"bytes,5,opt,name=issuer,proto3" json:"issuer,omitempty"` // PEM encoded CRL Pem string `protobuf:"bytes,6,opt,name=pem,proto3" json:"pem,omitempty"` // contains filtered or unexported fields }
Crl provides X509 CRL information
func (*Crl) Descriptor
deprecated
func (*Crl) GetNextUpdate ¶
func (*Crl) GetThisUpdate ¶
func (*Crl) ProtoMessage ¶
func (*Crl) ProtoMessage()
func (*Crl) ProtoReflect ¶
func (x *Crl) ProtoReflect() protoreflect.Message
type CrlsResponse ¶
type CrlsResponse struct { Clrs []*Crl `protobuf:"bytes,1,rep,name=clrs,proto3" json:"clrs,omitempty"` // contains filtered or unexported fields }
CrlsResponse returns published CRLs
func (*CrlsResponse) Descriptor
deprecated
func (*CrlsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CrlsResponse.ProtoReflect.Descriptor instead.
func (*CrlsResponse) GetClrs ¶
func (x *CrlsResponse) GetClrs() []*Crl
func (*CrlsResponse) ProtoMessage ¶
func (*CrlsResponse) ProtoMessage()
func (*CrlsResponse) ProtoReflect ¶
func (x *CrlsResponse) ProtoReflect() protoreflect.Message
func (*CrlsResponse) Reset ¶
func (x *CrlsResponse) Reset()
func (*CrlsResponse) String ¶
func (x *CrlsResponse) String() string
type EncodingFormat ¶
type EncodingFormat int32
const ( EncodingFormat_PEM EncodingFormat = 0 // default, PEM encoded EncodingFormat_DER EncodingFormat = 1 EncodingFormat_PKCS7 EncodingFormat = 2 )
func (EncodingFormat) Descriptor ¶
func (EncodingFormat) Descriptor() protoreflect.EnumDescriptor
func (EncodingFormat) Enum ¶
func (x EncodingFormat) Enum() *EncodingFormat
func (EncodingFormat) EnumDescriptor
deprecated
func (EncodingFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use EncodingFormat.Descriptor instead.
func (EncodingFormat) Number ¶
func (x EncodingFormat) Number() protoreflect.EnumNumber
func (EncodingFormat) String ¶
func (x EncodingFormat) String() string
func (EncodingFormat) Type ¶
func (EncodingFormat) Type() protoreflect.EnumType
type Error ¶
type Error struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
Error is the generic error returned from unary RPCs.
func (*Error) Descriptor
deprecated
func (*Error) GetMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type GetCertificateRequest ¶
type GetCertificateRequest struct { // Id specifies certificate ID. // If it's not set, then SKID must be provided Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // SKID specifies Subject Key ID to search Skid string `protobuf:"bytes,2,opt,name=skid,proto3" json:"skid,omitempty"` // contains filtered or unexported fields }
GetCertificateRequest specifies a certificate request by ID or issuer key identifier
func (*GetCertificateRequest) Descriptor
deprecated
func (*GetCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCertificateRequest.ProtoReflect.Descriptor instead.
func (*GetCertificateRequest) GetId ¶
func (x *GetCertificateRequest) GetId() uint64
func (*GetCertificateRequest) GetSkid ¶
func (x *GetCertificateRequest) GetSkid() string
func (*GetCertificateRequest) ProtoMessage ¶
func (*GetCertificateRequest) ProtoMessage()
func (*GetCertificateRequest) ProtoReflect ¶
func (x *GetCertificateRequest) ProtoReflect() protoreflect.Message
func (*GetCertificateRequest) Reset ¶
func (x *GetCertificateRequest) Reset()
func (*GetCertificateRequest) String ¶
func (x *GetCertificateRequest) String() string
type GetOrgCertificatesRequest ¶
type GetOrgCertificatesRequest struct { // OrgId specifies the Org ID. OrgId uint64 `protobuf:"varint,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // contains filtered or unexported fields }
GetOrgsCertificatesRequest specifies a certificates request by Org ID
func (*GetOrgCertificatesRequest) Descriptor
deprecated
func (*GetOrgCertificatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOrgCertificatesRequest.ProtoReflect.Descriptor instead.
func (*GetOrgCertificatesRequest) GetOrgId ¶
func (x *GetOrgCertificatesRequest) GetOrgId() uint64
func (*GetOrgCertificatesRequest) ProtoMessage ¶
func (*GetOrgCertificatesRequest) ProtoMessage()
func (*GetOrgCertificatesRequest) ProtoReflect ¶
func (x *GetOrgCertificatesRequest) ProtoReflect() protoreflect.Message
func (*GetOrgCertificatesRequest) Reset ¶
func (x *GetOrgCertificatesRequest) Reset()
func (*GetOrgCertificatesRequest) String ¶
func (x *GetOrgCertificatesRequest) String() string
type IssuerInfo ¶
type IssuerInfo struct { // Certificate provides the certificate in PEM format Certificate string `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` // Intermediates provides the intermediate CA certificates bundle in PEM format Intermediates string `protobuf:"bytes,2,opt,name=intermediates,proto3" json:"intermediates,omitempty"` // Root provides the Root CA certificate in PEM format Root string `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"` // Label specifies the Issuer's label Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
IssuerInfo provides Issuer information
func (*IssuerInfo) Descriptor
deprecated
func (*IssuerInfo) Descriptor() ([]byte, []int)
Deprecated: Use IssuerInfo.ProtoReflect.Descriptor instead.
func (*IssuerInfo) GetCertificate ¶
func (x *IssuerInfo) GetCertificate() string
func (*IssuerInfo) GetIntermediates ¶
func (x *IssuerInfo) GetIntermediates() string
func (*IssuerInfo) GetLabel ¶
func (x *IssuerInfo) GetLabel() string
func (*IssuerInfo) GetRoot ¶
func (x *IssuerInfo) GetRoot() string
func (*IssuerInfo) ProtoMessage ¶
func (*IssuerInfo) ProtoMessage()
func (*IssuerInfo) ProtoReflect ¶
func (x *IssuerInfo) ProtoReflect() protoreflect.Message
func (*IssuerInfo) Reset ¶
func (x *IssuerInfo) Reset()
func (*IssuerInfo) String ¶
func (x *IssuerInfo) String() string
type IssuersInfoResponse ¶
type IssuersInfoResponse struct { Issuers []*IssuerInfo `protobuf:"bytes,1,rep,name=issuers,proto3" json:"issuers,omitempty"` // contains filtered or unexported fields }
IssuersInfoResponse provides response for Issuers Info request
func (*IssuersInfoResponse) Descriptor
deprecated
func (*IssuersInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use IssuersInfoResponse.ProtoReflect.Descriptor instead.
func (*IssuersInfoResponse) GetIssuers ¶
func (x *IssuersInfoResponse) GetIssuers() []*IssuerInfo
func (*IssuersInfoResponse) ProtoMessage ¶
func (*IssuersInfoResponse) ProtoMessage()
func (*IssuersInfoResponse) ProtoReflect ¶
func (x *IssuersInfoResponse) ProtoReflect() protoreflect.Message
func (*IssuersInfoResponse) Reset ¶
func (x *IssuersInfoResponse) Reset()
func (*IssuersInfoResponse) String ¶
func (x *IssuersInfoResponse) String() string
type ListByIssuerRequest ¶
type ListByIssuerRequest struct { // Limit specifies the limit to return, or ALL if 0 Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` // After specifies certificate ID to start after After uint64 `protobuf:"varint,2,opt,name=after,proto3" json:"after,omitempty"` // IKID specifies Issuer Key ID to search Ikid string `protobuf:"bytes,3,opt,name=ikid,proto3" json:"ikid,omitempty"` // contains filtered or unexported fields }
func (*ListByIssuerRequest) Descriptor
deprecated
func (*ListByIssuerRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListByIssuerRequest.ProtoReflect.Descriptor instead.
func (*ListByIssuerRequest) GetAfter ¶
func (x *ListByIssuerRequest) GetAfter() uint64
func (*ListByIssuerRequest) GetIkid ¶
func (x *ListByIssuerRequest) GetIkid() string
func (*ListByIssuerRequest) GetLimit ¶
func (x *ListByIssuerRequest) GetLimit() int64
func (*ListByIssuerRequest) ProtoMessage ¶
func (*ListByIssuerRequest) ProtoMessage()
func (*ListByIssuerRequest) ProtoReflect ¶
func (x *ListByIssuerRequest) ProtoReflect() protoreflect.Message
func (*ListByIssuerRequest) Reset ¶
func (x *ListByIssuerRequest) Reset()
func (*ListByIssuerRequest) String ¶
func (x *ListByIssuerRequest) String() string
type PublishCrlsRequest ¶
type PublishCrlsRequest struct { // IKID specifies Issuer, or empty to publish for all issuers Ikid string `protobuf:"bytes,1,opt,name=ikid,proto3" json:"ikid,omitempty"` // contains filtered or unexported fields }
PublishCrlsRequest allows to publish CRLs on demand
func (*PublishCrlsRequest) Descriptor
deprecated
func (*PublishCrlsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishCrlsRequest.ProtoReflect.Descriptor instead.
func (*PublishCrlsRequest) GetIkid ¶
func (x *PublishCrlsRequest) GetIkid() string
func (*PublishCrlsRequest) ProtoMessage ¶
func (*PublishCrlsRequest) ProtoMessage()
func (*PublishCrlsRequest) ProtoReflect ¶
func (x *PublishCrlsRequest) ProtoReflect() protoreflect.Message
func (*PublishCrlsRequest) Reset ¶
func (x *PublishCrlsRequest) Reset()
func (*PublishCrlsRequest) String ¶
func (x *PublishCrlsRequest) String() string
type Reason ¶
type Reason int32
Reason specifies Certificate Revocation Reason from RFC 5280
CRLReason ::= ENUMERATED { unspecified (0), keyCompromise (1), cACompromise (2), affiliationChanged (3), superseded (4), cessationOfOperation (5), certificateHold (6), -- value 7 is not used removeFromCRL (8), privilegeWithdrawn (9), aACompromise (10) }
const ( Reason_UNSPECIFIED Reason = 0 Reason_KEY_COMPROMISE Reason = 1 Reason_CA_COMPROMISE Reason = 2 Reason_AFFILIATION_CHANGED Reason = 3 Reason_SUPERSEDED Reason = 4 Reason_CESSATION_OF_OPERATION Reason = 5 Reason_CERTIFICATE_HOLD Reason = 6 Reason_REMOVE_FROM_CRL Reason = 8 Reason_PRIVILEGE_WITHDRAWN Reason = 9 Reason_AA_COMPROMISE Reason = 10 )
func (Reason) Descriptor ¶
func (Reason) Descriptor() protoreflect.EnumDescriptor
func (Reason) EnumDescriptor
deprecated
func (Reason) Number ¶
func (x Reason) Number() protoreflect.EnumNumber
func (Reason) Type ¶
func (Reason) Type() protoreflect.EnumType
type RevokeCertificateRequest ¶
type RevokeCertificateRequest struct { // Id specifies certificate ID. // If it's not set, then SKID must be provided Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // SKID specifies Subject Key ID to search Skid string `protobuf:"bytes,2,opt,name=skid,proto3" json:"skid,omitempty"` // Reason for revocation Reason Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=pb.Reason" json:"reason,omitempty"` // contains filtered or unexported fields }
RevokeCertificateRequest specifies revocation request
func (*RevokeCertificateRequest) Descriptor
deprecated
func (*RevokeCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeCertificateRequest.ProtoReflect.Descriptor instead.
func (*RevokeCertificateRequest) GetId ¶
func (x *RevokeCertificateRequest) GetId() uint64
func (*RevokeCertificateRequest) GetReason ¶
func (x *RevokeCertificateRequest) GetReason() Reason
func (*RevokeCertificateRequest) GetSkid ¶
func (x *RevokeCertificateRequest) GetSkid() string
func (*RevokeCertificateRequest) ProtoMessage ¶
func (*RevokeCertificateRequest) ProtoMessage()
func (*RevokeCertificateRequest) ProtoReflect ¶
func (x *RevokeCertificateRequest) ProtoReflect() protoreflect.Message
func (*RevokeCertificateRequest) Reset ¶
func (x *RevokeCertificateRequest) Reset()
func (*RevokeCertificateRequest) String ¶
func (x *RevokeCertificateRequest) String() string
type RevokedCertificate ¶
type RevokedCertificate struct { Certificate *Certificate `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` RevokedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=revoked_at,proto3" json:"revoked_at,omitempty"` Reason Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=pb.Reason" json:"reason,omitempty"` // contains filtered or unexported fields }
RevokedCertificate provides X509 Cert information
func (*RevokedCertificate) Descriptor
deprecated
func (*RevokedCertificate) Descriptor() ([]byte, []int)
Deprecated: Use RevokedCertificate.ProtoReflect.Descriptor instead.
func (*RevokedCertificate) GetCertificate ¶
func (x *RevokedCertificate) GetCertificate() *Certificate
func (*RevokedCertificate) GetReason ¶
func (x *RevokedCertificate) GetReason() Reason
func (*RevokedCertificate) GetRevokedAt ¶
func (x *RevokedCertificate) GetRevokedAt() *timestamp.Timestamp
func (*RevokedCertificate) ProtoMessage ¶
func (*RevokedCertificate) ProtoMessage()
func (*RevokedCertificate) ProtoReflect ¶
func (x *RevokedCertificate) ProtoReflect() protoreflect.Message
func (*RevokedCertificate) Reset ¶
func (x *RevokedCertificate) Reset()
func (*RevokedCertificate) String ¶
func (x *RevokedCertificate) String() string
type RevokedCertificateResponse ¶
type RevokedCertificateResponse struct { Revoked *RevokedCertificate `protobuf:"bytes,1,opt,name=revoked,proto3" json:"revoked,omitempty"` // contains filtered or unexported fields }
RevokedCertificateResponse returns Revoked Certificate
func (*RevokedCertificateResponse) Descriptor
deprecated
func (*RevokedCertificateResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevokedCertificateResponse.ProtoReflect.Descriptor instead.
func (*RevokedCertificateResponse) GetRevoked ¶
func (x *RevokedCertificateResponse) GetRevoked() *RevokedCertificate
func (*RevokedCertificateResponse) ProtoMessage ¶
func (*RevokedCertificateResponse) ProtoMessage()
func (*RevokedCertificateResponse) ProtoReflect ¶
func (x *RevokedCertificateResponse) ProtoReflect() protoreflect.Message
func (*RevokedCertificateResponse) Reset ¶
func (x *RevokedCertificateResponse) Reset()
func (*RevokedCertificateResponse) String ¶
func (x *RevokedCertificateResponse) String() string
type RevokedCertificatesResponse ¶
type RevokedCertificatesResponse struct { List []*RevokedCertificate `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
RevokedCertificatesResponse returns Revoked Certificates list
func (*RevokedCertificatesResponse) Descriptor
deprecated
func (*RevokedCertificatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevokedCertificatesResponse.ProtoReflect.Descriptor instead.
func (*RevokedCertificatesResponse) GetList ¶
func (x *RevokedCertificatesResponse) GetList() []*RevokedCertificate
func (*RevokedCertificatesResponse) ProtoMessage ¶
func (*RevokedCertificatesResponse) ProtoMessage()
func (*RevokedCertificatesResponse) ProtoReflect ¶
func (x *RevokedCertificatesResponse) ProtoReflect() protoreflect.Message
func (*RevokedCertificatesResponse) Reset ¶
func (x *RevokedCertificatesResponse) Reset()
func (*RevokedCertificatesResponse) String ¶
func (x *RevokedCertificatesResponse) String() string
type RootCertificate ¶
type RootCertificate struct { // Id of the certificate Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Skid provides Subject Key Identifier Skid string `protobuf:"bytes,2,opt,name=skid,proto3" json:"skid,omitempty"` // NotBefore is the time when the validity period starts NotBefore *timestamp.Timestamp `protobuf:"bytes,3,opt,name=not_before,proto3" json:"not_before,omitempty"` // NotAfter is the time when the validity period ends NotAfter *timestamp.Timestamp `protobuf:"bytes,4,opt,name=not_after,proto3" json:"not_after,omitempty"` // Subject name Subject string `protobuf:"bytes,5,opt,name=subject,proto3" json:"subject,omitempty"` // SHA256 thnumbprint of the cert Sha256 string `protobuf:"bytes,6,opt,name=sha256,proto3" json:"sha256,omitempty"` // Trust scope Trust Trust `protobuf:"varint,7,opt,name=trust,proto3,enum=pb.Trust" json:"trust,omitempty"` // PEM encoded certificate Pem string `protobuf:"bytes,8,opt,name=pem,proto3" json:"pem,omitempty"` // contains filtered or unexported fields }
Root provides X509 Root Cert information
func (*RootCertificate) Descriptor
deprecated
func (*RootCertificate) Descriptor() ([]byte, []int)
Deprecated: Use RootCertificate.ProtoReflect.Descriptor instead.
func (*RootCertificate) GetId ¶
func (x *RootCertificate) GetId() uint64
func (*RootCertificate) GetNotAfter ¶
func (x *RootCertificate) GetNotAfter() *timestamp.Timestamp
func (*RootCertificate) GetNotBefore ¶
func (x *RootCertificate) GetNotBefore() *timestamp.Timestamp
func (*RootCertificate) GetPem ¶
func (x *RootCertificate) GetPem() string
func (*RootCertificate) GetSha256 ¶
func (x *RootCertificate) GetSha256() string
func (*RootCertificate) GetSkid ¶
func (x *RootCertificate) GetSkid() string
func (*RootCertificate) GetSubject ¶
func (x *RootCertificate) GetSubject() string
func (*RootCertificate) GetTrust ¶
func (x *RootCertificate) GetTrust() Trust
func (*RootCertificate) ProtoMessage ¶
func (*RootCertificate) ProtoMessage()
func (*RootCertificate) ProtoReflect ¶
func (x *RootCertificate) ProtoReflect() protoreflect.Message
func (*RootCertificate) Reset ¶
func (x *RootCertificate) Reset()
func (*RootCertificate) String ¶
func (x *RootCertificate) String() string
type RootsResponse ¶
type RootsResponse struct { Roots []*RootCertificate `protobuf:"bytes,1,rep,name=roots,proto3" json:"roots,omitempty"` // contains filtered or unexported fields }
RootsResponse returns Root Certificates
func (*RootsResponse) Descriptor
deprecated
func (*RootsResponse) Descriptor() ([]byte, []int)
Deprecated: Use RootsResponse.ProtoReflect.Descriptor instead.
func (*RootsResponse) GetRoots ¶
func (x *RootsResponse) GetRoots() []*RootCertificate
func (*RootsResponse) ProtoMessage ¶
func (*RootsResponse) ProtoMessage()
func (*RootsResponse) ProtoReflect ¶
func (x *RootsResponse) ProtoReflect() protoreflect.Message
func (*RootsResponse) Reset ¶
func (x *RootsResponse) Reset()
func (*RootsResponse) String ¶
func (x *RootsResponse) String() string
type ServerStatus ¶
type ServerStatus struct { // Name of the server or application. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Nodename is the human-readable name of the cluster member, // or empty for single host. Nodename string `protobuf:"bytes,2,opt,name=nodename,proto3" json:"nodename,omitempty"` // Hostname is operating system's host name. Hostname string `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"` // ListenURLs is the list of URLs the service is listening on. ListenUrls []string `protobuf:"bytes,4,rep,name=listen_urls,proto3" json:"listen_urls,omitempty"` // StartedAt is the time when the server has started. StartedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=started_at,proto3" json:"started_at,omitempty"` // contains filtered or unexported fields }
ServerStatus provides server status information
func (*ServerStatus) Descriptor
deprecated
func (*ServerStatus) Descriptor() ([]byte, []int)
Deprecated: Use ServerStatus.ProtoReflect.Descriptor instead.
func (*ServerStatus) GetHostname ¶
func (x *ServerStatus) GetHostname() string
func (*ServerStatus) GetListenUrls ¶
func (x *ServerStatus) GetListenUrls() []string
func (*ServerStatus) GetName ¶
func (x *ServerStatus) GetName() string
func (*ServerStatus) GetNodename ¶
func (x *ServerStatus) GetNodename() string
func (*ServerStatus) GetStartedAt ¶
func (x *ServerStatus) GetStartedAt() *timestamp.Timestamp
func (*ServerStatus) ProtoMessage ¶
func (*ServerStatus) ProtoMessage()
func (*ServerStatus) ProtoReflect ¶
func (x *ServerStatus) ProtoReflect() protoreflect.Message
func (*ServerStatus) Reset ¶
func (x *ServerStatus) Reset()
func (*ServerStatus) String ¶
func (x *ServerStatus) String() string
type ServerStatusResponse ¶
type ServerStatusResponse struct { // Status of the server. Status *ServerStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // Version of the server. Version *ServerVersion `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
ServerStatusResponse returns status and version
func (*ServerStatusResponse) Descriptor
deprecated
func (*ServerStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServerStatusResponse.ProtoReflect.Descriptor instead.
func (*ServerStatusResponse) GetStatus ¶
func (x *ServerStatusResponse) GetStatus() *ServerStatus
func (*ServerStatusResponse) GetVersion ¶
func (x *ServerStatusResponse) GetVersion() *ServerVersion
func (*ServerStatusResponse) ProtoMessage ¶
func (*ServerStatusResponse) ProtoMessage()
func (*ServerStatusResponse) ProtoReflect ¶
func (x *ServerStatusResponse) ProtoReflect() protoreflect.Message
func (*ServerStatusResponse) Reset ¶
func (x *ServerStatusResponse) Reset()
func (*ServerStatusResponse) String ¶
func (x *ServerStatusResponse) String() string
type ServerVersion ¶
type ServerVersion struct { // Build is the server build version. Build string `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"` // Runtime is the runtime version. Runtime string `protobuf:"bytes,2,opt,name=runtime,proto3" json:"runtime,omitempty"` // contains filtered or unexported fields }
ServerVersion provides server build and runtime version
func (*ServerVersion) Descriptor
deprecated
func (*ServerVersion) Descriptor() ([]byte, []int)
Deprecated: Use ServerVersion.ProtoReflect.Descriptor instead.
func (*ServerVersion) GetBuild ¶
func (x *ServerVersion) GetBuild() string
func (*ServerVersion) GetRuntime ¶
func (x *ServerVersion) GetRuntime() string
func (*ServerVersion) ProtoMessage ¶
func (*ServerVersion) ProtoMessage()
func (*ServerVersion) ProtoReflect ¶
func (x *ServerVersion) ProtoReflect() protoreflect.Message
func (*ServerVersion) Reset ¶
func (x *ServerVersion) Reset()
func (*ServerVersion) String ¶
func (x *ServerVersion) String() string
type SignCertificateRequest ¶
type SignCertificateRequest struct { // RequestFormat provides the certificate request format: CSR, CMS RequestFormat EncodingFormat `protobuf:"varint,1,opt,name=request_format,json=requestFormat,proto3,enum=pb.EncodingFormat" json:"request_format,omitempty"` // Request provides the certificate request Request []byte `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` // Profile specifies the certificate profile: client, server, spiffe Profile string `protobuf:"bytes,3,opt,name=profile,proto3" json:"profile,omitempty"` // IssuerLabel specifies which Issuer to be appointed to sign the request IssuerLabel string `protobuf:"bytes,4,opt,name=issuer_label,json=issuerLabel,proto3" json:"issuer_label,omitempty"` // San specifies Subject Alternative Names San []string `protobuf:"bytes,5,rep,name=san,proto3" json:"san,omitempty"` // Subject specifies name Subject *X509Subject `protobuf:"bytes,6,opt,name=subject,proto3" json:"subject,omitempty"` // Token provides the authorization token for the request Token string `protobuf:"bytes,7,opt,name=token,proto3" json:"token,omitempty"` // OrgId provides the ID of Organization that certificate belongs to OrgId uint64 `protobuf:"varint,8,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // NotBefore is the time when the validity period starts NotBefore *timestamp.Timestamp `protobuf:"bytes,9,opt,name=not_before,proto3" json:"not_before,omitempty"` // NotAfter is the time when the validity period ends NotAfter *timestamp.Timestamp `protobuf:"bytes,10,opt,name=not_after,proto3" json:"not_after,omitempty"` // contains filtered or unexported fields }
SignCertificateRequest specifies certificate sign request
func (*SignCertificateRequest) Descriptor
deprecated
func (*SignCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignCertificateRequest.ProtoReflect.Descriptor instead.
func (*SignCertificateRequest) GetIssuerLabel ¶
func (x *SignCertificateRequest) GetIssuerLabel() string
func (*SignCertificateRequest) GetNotAfter ¶
func (x *SignCertificateRequest) GetNotAfter() *timestamp.Timestamp
func (*SignCertificateRequest) GetNotBefore ¶
func (x *SignCertificateRequest) GetNotBefore() *timestamp.Timestamp
func (*SignCertificateRequest) GetOrgId ¶
func (x *SignCertificateRequest) GetOrgId() uint64
func (*SignCertificateRequest) GetProfile ¶
func (x *SignCertificateRequest) GetProfile() string
func (*SignCertificateRequest) GetRequest ¶
func (x *SignCertificateRequest) GetRequest() []byte
func (*SignCertificateRequest) GetRequestFormat ¶
func (x *SignCertificateRequest) GetRequestFormat() EncodingFormat
func (*SignCertificateRequest) GetSan ¶
func (x *SignCertificateRequest) GetSan() []string
func (*SignCertificateRequest) GetSubject ¶
func (x *SignCertificateRequest) GetSubject() *X509Subject
func (*SignCertificateRequest) GetToken ¶
func (x *SignCertificateRequest) GetToken() string
func (*SignCertificateRequest) ProtoMessage ¶
func (*SignCertificateRequest) ProtoMessage()
func (*SignCertificateRequest) ProtoReflect ¶
func (x *SignCertificateRequest) ProtoReflect() protoreflect.Message
func (*SignCertificateRequest) Reset ¶
func (x *SignCertificateRequest) Reset()
func (*SignCertificateRequest) String ¶
func (x *SignCertificateRequest) String() string
type StatusServiceClient ¶
type StatusServiceClient interface { // Version returns the server version. Version(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ServerVersion, error) // Server returns the server status. Server(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ServerStatusResponse, error) // Caller returns the caller status. Caller(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CallerStatusResponse, error) }
StatusServiceClient is the client API for StatusService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewStatusServiceClient ¶
func NewStatusServiceClient(cc grpc.ClientConnInterface) StatusServiceClient
type StatusServiceServer ¶
type StatusServiceServer interface { // Version returns the server version. Version(context.Context, *empty.Empty) (*ServerVersion, error) // Server returns the server status. Server(context.Context, *empty.Empty) (*ServerStatusResponse, error) // Caller returns the caller status. Caller(context.Context, *empty.Empty) (*CallerStatusResponse, error) }
StatusServiceServer is the server API for StatusService service.
type Trust ¶
type Trust int32
func (Trust) Descriptor ¶
func (Trust) Descriptor() protoreflect.EnumDescriptor
func (Trust) EnumDescriptor
deprecated
func (Trust) Number ¶
func (x Trust) Number() protoreflect.EnumNumber
func (Trust) Type ¶
func (Trust) Type() protoreflect.EnumType
type UnimplementedCAServiceServer ¶
type UnimplementedCAServiceServer struct { }
UnimplementedCAServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedCAServiceServer) Issuers ¶
func (*UnimplementedCAServiceServer) Issuers(context.Context, *empty.Empty) (*IssuersInfoResponse, error)
func (*UnimplementedCAServiceServer) ProfileInfo ¶
func (*UnimplementedCAServiceServer) ProfileInfo(context.Context, *CertProfileInfoRequest) (*CertProfileInfo, error)
func (*UnimplementedCAServiceServer) PublishCrls ¶
func (*UnimplementedCAServiceServer) PublishCrls(context.Context, *PublishCrlsRequest) (*CrlsResponse, error)
func (*UnimplementedCAServiceServer) RevokeCertificate ¶
func (*UnimplementedCAServiceServer) RevokeCertificate(context.Context, *RevokeCertificateRequest) (*RevokedCertificateResponse, error)
func (*UnimplementedCAServiceServer) SignCertificate ¶
func (*UnimplementedCAServiceServer) SignCertificate(context.Context, *SignCertificateRequest) (*CertificateResponse, error)
type UnimplementedCIServiceServer ¶
type UnimplementedCIServiceServer struct { }
UnimplementedCIServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedCIServiceServer) GetCertificate ¶
func (*UnimplementedCIServiceServer) GetCertificate(context.Context, *GetCertificateRequest) (*CertificateResponse, error)
func (*UnimplementedCIServiceServer) GetOrgCertificates ¶
func (*UnimplementedCIServiceServer) GetOrgCertificates(context.Context, *GetOrgCertificatesRequest) (*CertificatesResponse, error)
func (*UnimplementedCIServiceServer) GetRoots ¶
func (*UnimplementedCIServiceServer) GetRoots(context.Context, *empty.Empty) (*RootsResponse, error)
func (*UnimplementedCIServiceServer) ListCertificates ¶
func (*UnimplementedCIServiceServer) ListCertificates(context.Context, *ListByIssuerRequest) (*CertificatesResponse, error)
func (*UnimplementedCIServiceServer) ListRevokedCertificates ¶
func (*UnimplementedCIServiceServer) ListRevokedCertificates(context.Context, *ListByIssuerRequest) (*RevokedCertificatesResponse, error)
type UnimplementedStatusServiceServer ¶
type UnimplementedStatusServiceServer struct { }
UnimplementedStatusServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedStatusServiceServer) Caller ¶
func (*UnimplementedStatusServiceServer) Caller(context.Context, *empty.Empty) (*CallerStatusResponse, error)
func (*UnimplementedStatusServiceServer) Server ¶
func (*UnimplementedStatusServiceServer) Server(context.Context, *empty.Empty) (*ServerStatusResponse, error)
func (*UnimplementedStatusServiceServer) Version ¶
func (*UnimplementedStatusServiceServer) Version(context.Context, *empty.Empty) (*ServerVersion, error)
type X509Name ¶
type X509Name struct { Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"` State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` Locality string `protobuf:"bytes,3,opt,name=locality,proto3" json:"locality,omitempty"` Organisation string `protobuf:"bytes,4,opt,name=organisation,proto3" json:"organisation,omitempty"` OrganisationalUnit string `protobuf:"bytes,5,opt,name=organisational_unit,json=organisationalUnit,proto3" json:"organisational_unit,omitempty"` // contains filtered or unexported fields }
X509Name specifies X509 Name
func (*X509Name) Descriptor
deprecated
func (*X509Name) GetCountry ¶
func (*X509Name) GetLocality ¶
func (*X509Name) GetOrganisation ¶
func (*X509Name) GetOrganisationalUnit ¶
func (*X509Name) ProtoMessage ¶
func (*X509Name) ProtoMessage()
func (*X509Name) ProtoReflect ¶
func (x *X509Name) ProtoReflect() protoreflect.Message
type X509Subject ¶
type X509Subject struct { CommonName string `protobuf:"bytes,1,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"` Names []*X509Name `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"` SerialNumber string `protobuf:"bytes,3,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` // contains filtered or unexported fields }
X509Subject specifies X509 Subject
func (*X509Subject) Descriptor
deprecated
func (*X509Subject) Descriptor() ([]byte, []int)
Deprecated: Use X509Subject.ProtoReflect.Descriptor instead.
func (*X509Subject) GetCommonName ¶
func (x *X509Subject) GetCommonName() string
func (*X509Subject) GetNames ¶
func (x *X509Subject) GetNames() []*X509Name
func (*X509Subject) GetSerialNumber ¶
func (x *X509Subject) GetSerialNumber() string
func (*X509Subject) ProtoMessage ¶
func (*X509Subject) ProtoMessage()
func (*X509Subject) ProtoReflect ¶
func (x *X509Subject) ProtoReflect() protoreflect.Message
func (*X509Subject) Reset ¶
func (x *X509Subject) Reset()
func (*X509Subject) String ¶
func (x *X509Subject) String() string