Documentation
¶
Index ¶
- Variables
- func RegisterCertzServer(s grpc.ServiceRegistrar, srv CertzServer)
- type AddProfileRequest
- func (*AddProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddProfileRequest) GetSslProfileId() string
- func (*AddProfileRequest) ProtoMessage()
- func (x *AddProfileRequest) ProtoReflect() protoreflect.Message
- func (x *AddProfileRequest) Reset()
- func (x *AddProfileRequest) String() string
- type AddProfileResponse
- type CSRParams
- func (*CSRParams) Descriptor() ([]byte, []int)deprecated
- func (x *CSRParams) GetCity() string
- func (x *CSRParams) GetCommonName() string
- func (x *CSRParams) GetCountry() string
- func (x *CSRParams) GetCsrSuite() CSRSuite
- func (x *CSRParams) GetEmailId() string
- func (x *CSRParams) GetIpAddress() string
- func (x *CSRParams) GetOrganization() string
- func (x *CSRParams) GetOrganizationalUnit() string
- func (x *CSRParams) GetSan() *V3ExtensionSAN
- func (x *CSRParams) GetState() string
- func (*CSRParams) ProtoMessage()
- func (x *CSRParams) ProtoReflect() protoreflect.Message
- func (x *CSRParams) Reset()
- func (x *CSRParams) String() string
- type CSRSuite
- type CanGenerateCSRRequest
- func (*CanGenerateCSRRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CanGenerateCSRRequest) GetParams() *CSRParams
- func (*CanGenerateCSRRequest) ProtoMessage()
- func (x *CanGenerateCSRRequest) ProtoReflect() protoreflect.Message
- func (x *CanGenerateCSRRequest) Reset()
- func (x *CanGenerateCSRRequest) String() string
- type CanGenerateCSRResponse
- func (*CanGenerateCSRResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CanGenerateCSRResponse) GetCanGenerate() bool
- func (*CanGenerateCSRResponse) ProtoMessage()
- func (x *CanGenerateCSRResponse) ProtoReflect() protoreflect.Message
- func (x *CanGenerateCSRResponse) Reset()
- func (x *CanGenerateCSRResponse) String() string
- type Certificate
- func (*Certificate) Descriptor() ([]byte, []int)deprecated
- func (x *Certificate) GetCertificate() []byte
- func (x *Certificate) GetEncoding() CertificateEncoding
- func (x *Certificate) GetPrivateKey() []byte
- func (x *Certificate) GetType() CertificateType
- func (*Certificate) ProtoMessage()
- func (x *Certificate) ProtoReflect() protoreflect.Message
- func (x *Certificate) Reset()
- func (x *Certificate) String() string
- type CertificateChain
- func (*CertificateChain) Descriptor() ([]byte, []int)deprecated
- func (x *CertificateChain) GetCertificate() *Certificate
- func (x *CertificateChain) GetParent() *CertificateChain
- func (*CertificateChain) ProtoMessage()
- func (x *CertificateChain) ProtoReflect() protoreflect.Message
- func (x *CertificateChain) Reset()
- func (x *CertificateChain) String() string
- type CertificateEncoding
- func (CertificateEncoding) Descriptor() protoreflect.EnumDescriptor
- func (x CertificateEncoding) Enum() *CertificateEncoding
- func (CertificateEncoding) EnumDescriptor() ([]byte, []int)deprecated
- func (x CertificateEncoding) Number() protoreflect.EnumNumber
- func (x CertificateEncoding) String() string
- func (CertificateEncoding) Type() protoreflect.EnumType
- type CertificateRevocationList
- func (*CertificateRevocationList) Descriptor() ([]byte, []int)deprecated
- func (x *CertificateRevocationList) GetCertificateRevocationList() []byte
- func (x *CertificateRevocationList) GetEncoding() CertificateEncoding
- func (x *CertificateRevocationList) GetId() string
- func (x *CertificateRevocationList) GetType() CertificateType
- func (*CertificateRevocationList) ProtoMessage()
- func (x *CertificateRevocationList) ProtoReflect() protoreflect.Message
- func (x *CertificateRevocationList) Reset()
- func (x *CertificateRevocationList) String() string
- type CertificateRevocationListBundle
- func (*CertificateRevocationListBundle) Descriptor() ([]byte, []int)deprecated
- func (x *CertificateRevocationListBundle) GetCertificateRevocationLists() []*CertificateRevocationList
- func (*CertificateRevocationListBundle) ProtoMessage()
- func (x *CertificateRevocationListBundle) ProtoReflect() protoreflect.Message
- func (x *CertificateRevocationListBundle) Reset()
- func (x *CertificateRevocationListBundle) String() string
- type CertificateSigningRequest
- func (*CertificateSigningRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CertificateSigningRequest) GetCertificateSigningRequest() []byte
- func (x *CertificateSigningRequest) GetEncoding() CertificateEncoding
- func (x *CertificateSigningRequest) GetType() CertificateType
- func (*CertificateSigningRequest) ProtoMessage()
- func (x *CertificateSigningRequest) ProtoReflect() protoreflect.Message
- func (x *CertificateSigningRequest) Reset()
- func (x *CertificateSigningRequest) String() string
- type CertificateType
- func (CertificateType) Descriptor() protoreflect.EnumDescriptor
- func (x CertificateType) Enum() *CertificateType
- func (CertificateType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CertificateType) Number() protoreflect.EnumNumber
- func (x CertificateType) String() string
- func (CertificateType) Type() protoreflect.EnumType
- type CertzClient
- type CertzServer
- type Certz_RotateClient
- type Certz_RotateServer
- type DeleteProfileRequest
- func (*DeleteProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProfileRequest) GetSslProfileId() string
- func (*DeleteProfileRequest) ProtoMessage()
- func (x *DeleteProfileRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProfileRequest) Reset()
- func (x *DeleteProfileRequest) String() string
- type DeleteProfileResponse
- type Entity
- func (*Entity) Descriptor() ([]byte, []int)deprecated
- func (x *Entity) GetCertificateChain() *CertificateChain
- func (x *Entity) GetCertificateRevocationListBundle() *CertificateRevocationListBundle
- func (x *Entity) GetCreatedOn() uint64
- func (m *Entity) GetEntity() isEntity_Entity
- func (x *Entity) GetTrustBundle() *CertificateChain
- func (x *Entity) GetVersion() string
- func (*Entity) ProtoMessage()
- func (x *Entity) ProtoReflect() protoreflect.Message
- func (x *Entity) Reset()
- func (x *Entity) String() string
- type Entity_CertificateChain
- type Entity_CertificateRevocationListBundle
- type Entity_TrustBundle
- type FinalizeRequest
- type GenerateCSRRequest
- func (*GenerateCSRRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateCSRRequest) GetParams() *CSRParams
- func (*GenerateCSRRequest) ProtoMessage()
- func (x *GenerateCSRRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateCSRRequest) Reset()
- func (x *GenerateCSRRequest) String() string
- type GenerateCSRResponse
- func (*GenerateCSRResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateCSRResponse) GetCertificateSigningRequest() *CertificateSigningRequest
- func (*GenerateCSRResponse) ProtoMessage()
- func (x *GenerateCSRResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateCSRResponse) Reset()
- func (x *GenerateCSRResponse) String() string
- type GetProfileListRequest
- type GetProfileListResponse
- func (*GetProfileListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProfileListResponse) GetSslProfileIds() []string
- func (*GetProfileListResponse) ProtoMessage()
- func (x *GetProfileListResponse) ProtoReflect() protoreflect.Message
- func (x *GetProfileListResponse) Reset()
- func (x *GetProfileListResponse) String() string
- type RotateCertificateRequest
- func (*RotateCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RotateCertificateRequest) GetCertificates() *UploadRequest
- func (x *RotateCertificateRequest) GetFinalizeRotation() *FinalizeRequest
- func (x *RotateCertificateRequest) GetForceOverwrite() bool
- func (x *RotateCertificateRequest) GetGenerateCsr() *GenerateCSRRequest
- func (m *RotateCertificateRequest) GetRotateRequest() isRotateCertificateRequest_RotateRequest
- func (x *RotateCertificateRequest) GetSslProfileId() string
- func (*RotateCertificateRequest) ProtoMessage()
- func (x *RotateCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *RotateCertificateRequest) Reset()
- func (x *RotateCertificateRequest) String() string
- type RotateCertificateRequest_Certificates
- type RotateCertificateRequest_FinalizeRotation
- type RotateCertificateRequest_GenerateCsr
- type RotateCertificateResponse
- func (*RotateCertificateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RotateCertificateResponse) GetCertificates() *UploadResponse
- func (x *RotateCertificateResponse) GetGeneratedCsr() *GenerateCSRResponse
- func (m *RotateCertificateResponse) GetRotateResponse() isRotateCertificateResponse_RotateResponse
- func (*RotateCertificateResponse) ProtoMessage()
- func (x *RotateCertificateResponse) ProtoReflect() protoreflect.Message
- func (x *RotateCertificateResponse) Reset()
- func (x *RotateCertificateResponse) String() string
- type RotateCertificateResponse_Certificates
- type RotateCertificateResponse_GeneratedCsr
- type UnimplementedCertzServer
- func (UnimplementedCertzServer) AddProfile(context.Context, *AddProfileRequest) (*AddProfileResponse, error)
- func (UnimplementedCertzServer) CanGenerateCSR(context.Context, *CanGenerateCSRRequest) (*CanGenerateCSRResponse, error)
- func (UnimplementedCertzServer) DeleteProfile(context.Context, *DeleteProfileRequest) (*DeleteProfileResponse, error)
- func (UnimplementedCertzServer) GetProfileList(context.Context, *GetProfileListRequest) (*GetProfileListResponse, error)
- func (UnimplementedCertzServer) Rotate(Certz_RotateServer) error
- type UnsafeCertzServer
- type UploadRequest
- type UploadResponse
- type V3ExtensionSAN
- func (*V3ExtensionSAN) Descriptor() ([]byte, []int)deprecated
- func (x *V3ExtensionSAN) GetDns() []string
- func (x *V3ExtensionSAN) GetEmails() []string
- func (x *V3ExtensionSAN) GetIps() []string
- func (x *V3ExtensionSAN) GetUris() []string
- func (*V3ExtensionSAN) ProtoMessage()
- func (x *V3ExtensionSAN) ProtoReflect() protoreflect.Message
- func (x *V3ExtensionSAN) Reset()
- func (x *V3ExtensionSAN) String() string
Constants ¶
This section is empty.
Variables ¶
var ( CSRSuite_name = map[int32]string{ 0: "CSRSUITE_CIPHER_UNSPECIFIED", 1: "CSRSUITE_X509_KEY_TYPE_RSA_2048_SIGNATURE_ALGORITHM_SHA_2_256", 2: "CSRSUITE_X509_KEY_TYPE_RSA_2048_SIGNATURE_ALGORITHM_SHA_2_384", 3: "CSRSUITE_X509_KEY_TYPE_RSA_2048_SIGNATURE_ALGORITHM_SHA_2_512", 4: "CSRSUITE_X509_KEY_TYPE_RSA_3072_SIGNATURE_ALGORITHM_SHA_2_256", 5: "CSRSUITE_X509_KEY_TYPE_RSA_3072_SIGNATURE_ALGORITHM_SHA_2_384", 6: "CSRSUITE_X509_KEY_TYPE_RSA_3072_SIGNATURE_ALGORITHM_SHA_2_512", 7: "CSRSUITE_X509_KEY_TYPE_RSA_4096_SIGNATURE_ALGORITHM_SHA_2_256", 8: "CSRSUITE_X509_KEY_TYPE_RSA_4096_SIGNATURE_ALGORITHM_SHA_2_384", 9: "CSRSUITE_X509_KEY_TYPE_RSA_4096_SIGNATURE_ALGORITHM_SHA_2_512", 10: "CSRSUITE_X509_KEY_TYPE_ECDSA_PRIME256V1_SIGNATURE_ALGORITHM_SHA_2_256", 11: "CSRSUITE_X509_KEY_TYPE_ECDSA_PRIME256V1_SIGNATURE_ALGORITHM_SHA_2_384", 12: "CSRSUITE_X509_KEY_TYPE_ECDSA_PRIME256V1_SIGNATURE_ALGORITHM_SHA_2_512", 13: "CSRSUITE_X509_KEY_TYPE_ECDSA_SECP384R1_SIGNATURE_ALGORITHM_SHA_2_256", 14: "CSRSUITE_X509_KEY_TYPE_ECDSA_SECP384R1_SIGNATURE_ALGORITHM_SHA_2_384", 15: "CSRSUITE_X509_KEY_TYPE_ECDSA_SECP384R1_SIGNATURE_ALGORITHM_SHA_2_512", 16: "CSRSUITE_X509_KEY_TYPE_ECDSA_SECP521R1_SIGNATURE_ALGORITHM_SHA_2_256", 17: "CSRSUITE_X509_KEY_TYPE_ECDSA_SECP521R1_SIGNATURE_ALGORITHM_SHA_2_384", 18: "CSRSUITE_X509_KEY_TYPE_ECDSA_SECP521R1_SIGNATURE_ALGORITHM_SHA_2_512", 19: "CSRSUITE_X509_KEY_TYPE_EDDSA_ED25519", } CSRSuite_value = map[string]int32{ "CSRSUITE_CIPHER_UNSPECIFIED": 0, "CSRSUITE_X509_KEY_TYPE_RSA_2048_SIGNATURE_ALGORITHM_SHA_2_256": 1, "CSRSUITE_X509_KEY_TYPE_RSA_2048_SIGNATURE_ALGORITHM_SHA_2_384": 2, "CSRSUITE_X509_KEY_TYPE_RSA_2048_SIGNATURE_ALGORITHM_SHA_2_512": 3, "CSRSUITE_X509_KEY_TYPE_RSA_3072_SIGNATURE_ALGORITHM_SHA_2_256": 4, "CSRSUITE_X509_KEY_TYPE_RSA_3072_SIGNATURE_ALGORITHM_SHA_2_384": 5, "CSRSUITE_X509_KEY_TYPE_RSA_3072_SIGNATURE_ALGORITHM_SHA_2_512": 6, "CSRSUITE_X509_KEY_TYPE_RSA_4096_SIGNATURE_ALGORITHM_SHA_2_256": 7, "CSRSUITE_X509_KEY_TYPE_RSA_4096_SIGNATURE_ALGORITHM_SHA_2_384": 8, "CSRSUITE_X509_KEY_TYPE_RSA_4096_SIGNATURE_ALGORITHM_SHA_2_512": 9, "CSRSUITE_X509_KEY_TYPE_ECDSA_PRIME256V1_SIGNATURE_ALGORITHM_SHA_2_256": 10, "CSRSUITE_X509_KEY_TYPE_ECDSA_PRIME256V1_SIGNATURE_ALGORITHM_SHA_2_384": 11, "CSRSUITE_X509_KEY_TYPE_ECDSA_PRIME256V1_SIGNATURE_ALGORITHM_SHA_2_512": 12, "CSRSUITE_X509_KEY_TYPE_ECDSA_SECP384R1_SIGNATURE_ALGORITHM_SHA_2_256": 13, "CSRSUITE_X509_KEY_TYPE_ECDSA_SECP384R1_SIGNATURE_ALGORITHM_SHA_2_384": 14, "CSRSUITE_X509_KEY_TYPE_ECDSA_SECP384R1_SIGNATURE_ALGORITHM_SHA_2_512": 15, "CSRSUITE_X509_KEY_TYPE_ECDSA_SECP521R1_SIGNATURE_ALGORITHM_SHA_2_256": 16, "CSRSUITE_X509_KEY_TYPE_ECDSA_SECP521R1_SIGNATURE_ALGORITHM_SHA_2_384": 17, "CSRSUITE_X509_KEY_TYPE_ECDSA_SECP521R1_SIGNATURE_ALGORITHM_SHA_2_512": 18, "CSRSUITE_X509_KEY_TYPE_EDDSA_ED25519": 19, } )
Enum value maps for CSRSuite.
var ( CertificateType_name = map[int32]string{ 0: "CERTIFICATE_TYPE_UNSPECIFIED", 1: "CERTIFICATE_TYPE_X509", } CertificateType_value = map[string]int32{ "CERTIFICATE_TYPE_UNSPECIFIED": 0, "CERTIFICATE_TYPE_X509": 1, } )
Enum value maps for CertificateType.
var ( CertificateEncoding_name = map[int32]string{ 0: "CERTIFICATE_ENCODING_UNSPECIFIED", 1: "CERTIFICATE_ENCODING_PEM", 2: "CERTIFICATE_ENCODING_DER", 3: "CERTIFICATE_ENCODING_CRT", } CertificateEncoding_value = map[string]int32{ "CERTIFICATE_ENCODING_UNSPECIFIED": 0, "CERTIFICATE_ENCODING_PEM": 1, "CERTIFICATE_ENCODING_DER": 2, "CERTIFICATE_ENCODING_CRT": 3, } )
Enum value maps for CertificateEncoding.
var Certz_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gnsi.certz.Certz", HandlerType: (*CertzServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddProfile", Handler: _Certz_AddProfile_Handler, }, { MethodName: "DeleteProfile", Handler: _Certz_DeleteProfile_Handler, }, { MethodName: "GetProfileList", Handler: _Certz_GetProfileList_Handler, }, { MethodName: "CanGenerateCSR", Handler: _Certz_CanGenerateCSR_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Rotate", Handler: _Certz_Rotate_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "github.com/openconfig/gnsi/certz/certz.proto", }
Certz_ServiceDesc is the grpc.ServiceDesc for Certz service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_github_com_openconfig_gnsi_certz_certz_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCertzServer ¶
func RegisterCertzServer(s grpc.ServiceRegistrar, srv CertzServer)
Types ¶
type AddProfileRequest ¶
type AddProfileRequest struct {
SslProfileId string `protobuf:"bytes,1,opt,name=ssl_profile_id,json=sslProfileId,proto3" json:"ssl_profile_id,omitempty"`
// contains filtered or unexported fields
}
func (*AddProfileRequest) Descriptor
deprecated
func (*AddProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddProfileRequest.ProtoReflect.Descriptor instead.
func (*AddProfileRequest) GetSslProfileId ¶
func (x *AddProfileRequest) GetSslProfileId() string
func (*AddProfileRequest) ProtoMessage ¶
func (*AddProfileRequest) ProtoMessage()
func (*AddProfileRequest) ProtoReflect ¶
func (x *AddProfileRequest) ProtoReflect() protoreflect.Message
func (*AddProfileRequest) Reset ¶
func (x *AddProfileRequest) Reset()
func (*AddProfileRequest) String ¶
func (x *AddProfileRequest) String() string
type AddProfileResponse ¶
type AddProfileResponse struct {
// contains filtered or unexported fields
}
func (*AddProfileResponse) Descriptor
deprecated
func (*AddProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddProfileResponse.ProtoReflect.Descriptor instead.
func (*AddProfileResponse) ProtoMessage ¶
func (*AddProfileResponse) ProtoMessage()
func (*AddProfileResponse) ProtoReflect ¶
func (x *AddProfileResponse) ProtoReflect() protoreflect.Message
func (*AddProfileResponse) Reset ¶
func (x *AddProfileResponse) Reset()
func (*AddProfileResponse) String ¶
func (x *AddProfileResponse) String() string
type CSRParams ¶
type CSRParams struct {
CsrSuite CSRSuite `protobuf:"varint,1,opt,name=csr_suite,json=csrSuite,proto3,enum=gnsi.certz.CSRSuite" json:"csr_suite,omitempty"`
CommonName string `protobuf:"bytes,2,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"`
Country string `protobuf:"bytes,3,opt,name=country,proto3" json:"country,omitempty"`
State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
City string `protobuf:"bytes,5,opt,name=city,proto3" json:"city,omitempty"`
Organization string `protobuf:"bytes,6,opt,name=organization,proto3" json:"organization,omitempty"`
OrganizationalUnit string `protobuf:"bytes,7,opt,name=organizational_unit,json=organizationalUnit,proto3" json:"organizational_unit,omitempty"`
IpAddress string `protobuf:"bytes,8,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
EmailId string `protobuf:"bytes,9,opt,name=email_id,json=emailId,proto3" json:"email_id,omitempty"`
San *V3ExtensionSAN `protobuf:"bytes,10,opt,name=san,proto3" json:"san,omitempty"`
// contains filtered or unexported fields
}
func (*CSRParams) Descriptor
deprecated
func (*CSRParams) GetCommonName ¶
func (*CSRParams) GetCountry ¶
func (*CSRParams) GetCsrSuite ¶
func (*CSRParams) GetEmailId ¶
func (*CSRParams) GetIpAddress ¶
func (*CSRParams) GetOrganization ¶
func (*CSRParams) GetOrganizationalUnit ¶
func (*CSRParams) GetSan ¶
func (x *CSRParams) GetSan() *V3ExtensionSAN
func (*CSRParams) ProtoMessage ¶
func (*CSRParams) ProtoMessage()
func (*CSRParams) ProtoReflect ¶
func (x *CSRParams) ProtoReflect() protoreflect.Message
type CSRSuite ¶
type CSRSuite int32
const ( CSRSuite_CSRSUITE_CIPHER_UNSPECIFIED CSRSuite = 0 CSRSuite_CSRSUITE_X509_KEY_TYPE_RSA_2048_SIGNATURE_ALGORITHM_SHA_2_256 CSRSuite = 1 CSRSuite_CSRSUITE_X509_KEY_TYPE_RSA_2048_SIGNATURE_ALGORITHM_SHA_2_384 CSRSuite = 2 CSRSuite_CSRSUITE_X509_KEY_TYPE_RSA_2048_SIGNATURE_ALGORITHM_SHA_2_512 CSRSuite = 3 CSRSuite_CSRSUITE_X509_KEY_TYPE_RSA_3072_SIGNATURE_ALGORITHM_SHA_2_256 CSRSuite = 4 CSRSuite_CSRSUITE_X509_KEY_TYPE_RSA_3072_SIGNATURE_ALGORITHM_SHA_2_384 CSRSuite = 5 CSRSuite_CSRSUITE_X509_KEY_TYPE_RSA_3072_SIGNATURE_ALGORITHM_SHA_2_512 CSRSuite = 6 CSRSuite_CSRSUITE_X509_KEY_TYPE_RSA_4096_SIGNATURE_ALGORITHM_SHA_2_256 CSRSuite = 7 CSRSuite_CSRSUITE_X509_KEY_TYPE_RSA_4096_SIGNATURE_ALGORITHM_SHA_2_384 CSRSuite = 8 CSRSuite_CSRSUITE_X509_KEY_TYPE_RSA_4096_SIGNATURE_ALGORITHM_SHA_2_512 CSRSuite = 9 CSRSuite_CSRSUITE_X509_KEY_TYPE_ECDSA_PRIME256V1_SIGNATURE_ALGORITHM_SHA_2_256 CSRSuite = 10 CSRSuite_CSRSUITE_X509_KEY_TYPE_ECDSA_PRIME256V1_SIGNATURE_ALGORITHM_SHA_2_384 CSRSuite = 11 CSRSuite_CSRSUITE_X509_KEY_TYPE_ECDSA_PRIME256V1_SIGNATURE_ALGORITHM_SHA_2_512 CSRSuite = 12 CSRSuite_CSRSUITE_X509_KEY_TYPE_ECDSA_SECP384R1_SIGNATURE_ALGORITHM_SHA_2_256 CSRSuite = 13 CSRSuite_CSRSUITE_X509_KEY_TYPE_ECDSA_SECP384R1_SIGNATURE_ALGORITHM_SHA_2_384 CSRSuite = 14 CSRSuite_CSRSUITE_X509_KEY_TYPE_ECDSA_SECP384R1_SIGNATURE_ALGORITHM_SHA_2_512 CSRSuite = 15 CSRSuite_CSRSUITE_X509_KEY_TYPE_ECDSA_SECP521R1_SIGNATURE_ALGORITHM_SHA_2_256 CSRSuite = 16 CSRSuite_CSRSUITE_X509_KEY_TYPE_ECDSA_SECP521R1_SIGNATURE_ALGORITHM_SHA_2_384 CSRSuite = 17 CSRSuite_CSRSUITE_X509_KEY_TYPE_ECDSA_SECP521R1_SIGNATURE_ALGORITHM_SHA_2_512 CSRSuite = 18 CSRSuite_CSRSUITE_X509_KEY_TYPE_EDDSA_ED25519 CSRSuite = 19 )
func (CSRSuite) Descriptor ¶
func (CSRSuite) Descriptor() protoreflect.EnumDescriptor
func (CSRSuite) EnumDescriptor
deprecated
func (CSRSuite) Number ¶
func (x CSRSuite) Number() protoreflect.EnumNumber
func (CSRSuite) Type ¶
func (CSRSuite) Type() protoreflect.EnumType
type CanGenerateCSRRequest ¶
type CanGenerateCSRRequest struct {
Params *CSRParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
// contains filtered or unexported fields
}
func (*CanGenerateCSRRequest) Descriptor
deprecated
func (*CanGenerateCSRRequest) Descriptor() ([]byte, []int)
Deprecated: Use CanGenerateCSRRequest.ProtoReflect.Descriptor instead.
func (*CanGenerateCSRRequest) GetParams ¶
func (x *CanGenerateCSRRequest) GetParams() *CSRParams
func (*CanGenerateCSRRequest) ProtoMessage ¶
func (*CanGenerateCSRRequest) ProtoMessage()
func (*CanGenerateCSRRequest) ProtoReflect ¶
func (x *CanGenerateCSRRequest) ProtoReflect() protoreflect.Message
func (*CanGenerateCSRRequest) Reset ¶
func (x *CanGenerateCSRRequest) Reset()
func (*CanGenerateCSRRequest) String ¶
func (x *CanGenerateCSRRequest) String() string
type CanGenerateCSRResponse ¶
type CanGenerateCSRResponse struct {
CanGenerate bool `protobuf:"varint,4,opt,name=can_generate,json=canGenerate,proto3" json:"can_generate,omitempty"`
// contains filtered or unexported fields
}
func (*CanGenerateCSRResponse) Descriptor
deprecated
func (*CanGenerateCSRResponse) Descriptor() ([]byte, []int)
Deprecated: Use CanGenerateCSRResponse.ProtoReflect.Descriptor instead.
func (*CanGenerateCSRResponse) GetCanGenerate ¶
func (x *CanGenerateCSRResponse) GetCanGenerate() bool
func (*CanGenerateCSRResponse) ProtoMessage ¶
func (*CanGenerateCSRResponse) ProtoMessage()
func (*CanGenerateCSRResponse) ProtoReflect ¶
func (x *CanGenerateCSRResponse) ProtoReflect() protoreflect.Message
func (*CanGenerateCSRResponse) Reset ¶
func (x *CanGenerateCSRResponse) Reset()
func (*CanGenerateCSRResponse) String ¶
func (x *CanGenerateCSRResponse) String() string
type Certificate ¶
type Certificate struct {
Type CertificateType `protobuf:"varint,1,opt,name=type,proto3,enum=gnsi.certz.CertificateType" json:"type,omitempty"`
Encoding CertificateEncoding `protobuf:"varint,2,opt,name=encoding,proto3,enum=gnsi.certz.CertificateEncoding" json:"encoding,omitempty"`
Certificate []byte `protobuf:"bytes,3,opt,name=certificate,proto3" json:"certificate,omitempty"`
PrivateKey []byte `protobuf:"bytes,4,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
// contains filtered or unexported fields
}
func (*Certificate) Descriptor
deprecated
func (*Certificate) Descriptor() ([]byte, []int)
Deprecated: Use Certificate.ProtoReflect.Descriptor instead.
func (*Certificate) GetCertificate ¶
func (x *Certificate) GetCertificate() []byte
func (*Certificate) GetEncoding ¶
func (x *Certificate) GetEncoding() CertificateEncoding
func (*Certificate) GetPrivateKey ¶
func (x *Certificate) GetPrivateKey() []byte
func (*Certificate) GetType ¶
func (x *Certificate) GetType() CertificateType
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 CertificateChain ¶
type CertificateChain struct {
Certificate *Certificate `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"`
Parent *CertificateChain `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
// contains filtered or unexported fields
}
func (*CertificateChain) Descriptor
deprecated
func (*CertificateChain) Descriptor() ([]byte, []int)
Deprecated: Use CertificateChain.ProtoReflect.Descriptor instead.
func (*CertificateChain) GetCertificate ¶
func (x *CertificateChain) GetCertificate() *Certificate
func (*CertificateChain) GetParent ¶
func (x *CertificateChain) GetParent() *CertificateChain
func (*CertificateChain) ProtoMessage ¶
func (*CertificateChain) ProtoMessage()
func (*CertificateChain) ProtoReflect ¶
func (x *CertificateChain) ProtoReflect() protoreflect.Message
func (*CertificateChain) Reset ¶
func (x *CertificateChain) Reset()
func (*CertificateChain) String ¶
func (x *CertificateChain) String() string
type CertificateEncoding ¶
type CertificateEncoding int32
const ( CertificateEncoding_CERTIFICATE_ENCODING_UNSPECIFIED CertificateEncoding = 0 CertificateEncoding_CERTIFICATE_ENCODING_PEM CertificateEncoding = 1 CertificateEncoding_CERTIFICATE_ENCODING_DER CertificateEncoding = 2 CertificateEncoding_CERTIFICATE_ENCODING_CRT CertificateEncoding = 3 )
func (CertificateEncoding) Descriptor ¶
func (CertificateEncoding) Descriptor() protoreflect.EnumDescriptor
func (CertificateEncoding) Enum ¶
func (x CertificateEncoding) Enum() *CertificateEncoding
func (CertificateEncoding) EnumDescriptor
deprecated
func (CertificateEncoding) EnumDescriptor() ([]byte, []int)
Deprecated: Use CertificateEncoding.Descriptor instead.
func (CertificateEncoding) Number ¶
func (x CertificateEncoding) Number() protoreflect.EnumNumber
func (CertificateEncoding) String ¶
func (x CertificateEncoding) String() string
func (CertificateEncoding) Type ¶
func (CertificateEncoding) Type() protoreflect.EnumType
type CertificateRevocationList ¶
type CertificateRevocationList struct {
Type CertificateType `protobuf:"varint,1,opt,name=type,proto3,enum=gnsi.certz.CertificateType" json:"type,omitempty"`
Encoding CertificateEncoding `protobuf:"varint,2,opt,name=encoding,proto3,enum=gnsi.certz.CertificateEncoding" json:"encoding,omitempty"`
CertificateRevocationList []byte `` /* 138-byte string literal not displayed */
Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*CertificateRevocationList) Descriptor
deprecated
func (*CertificateRevocationList) Descriptor() ([]byte, []int)
Deprecated: Use CertificateRevocationList.ProtoReflect.Descriptor instead.
func (*CertificateRevocationList) GetCertificateRevocationList ¶
func (x *CertificateRevocationList) GetCertificateRevocationList() []byte
func (*CertificateRevocationList) GetEncoding ¶
func (x *CertificateRevocationList) GetEncoding() CertificateEncoding
func (*CertificateRevocationList) GetId ¶
func (x *CertificateRevocationList) GetId() string
func (*CertificateRevocationList) GetType ¶
func (x *CertificateRevocationList) GetType() CertificateType
func (*CertificateRevocationList) ProtoMessage ¶
func (*CertificateRevocationList) ProtoMessage()
func (*CertificateRevocationList) ProtoReflect ¶
func (x *CertificateRevocationList) ProtoReflect() protoreflect.Message
func (*CertificateRevocationList) Reset ¶
func (x *CertificateRevocationList) Reset()
func (*CertificateRevocationList) String ¶
func (x *CertificateRevocationList) String() string
type CertificateRevocationListBundle ¶
type CertificateRevocationListBundle struct {
CertificateRevocationLists []*CertificateRevocationList `` /* 141-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*CertificateRevocationListBundle) Descriptor
deprecated
func (*CertificateRevocationListBundle) Descriptor() ([]byte, []int)
Deprecated: Use CertificateRevocationListBundle.ProtoReflect.Descriptor instead.
func (*CertificateRevocationListBundle) GetCertificateRevocationLists ¶
func (x *CertificateRevocationListBundle) GetCertificateRevocationLists() []*CertificateRevocationList
func (*CertificateRevocationListBundle) ProtoMessage ¶
func (*CertificateRevocationListBundle) ProtoMessage()
func (*CertificateRevocationListBundle) ProtoReflect ¶
func (x *CertificateRevocationListBundle) ProtoReflect() protoreflect.Message
func (*CertificateRevocationListBundle) Reset ¶
func (x *CertificateRevocationListBundle) Reset()
func (*CertificateRevocationListBundle) String ¶
func (x *CertificateRevocationListBundle) String() string
type CertificateSigningRequest ¶
type CertificateSigningRequest struct {
Type CertificateType `protobuf:"varint,1,opt,name=type,proto3,enum=gnsi.certz.CertificateType" json:"type,omitempty"`
Encoding CertificateEncoding `protobuf:"varint,2,opt,name=encoding,proto3,enum=gnsi.certz.CertificateEncoding" json:"encoding,omitempty"`
CertificateSigningRequest []byte `` /* 138-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*CertificateSigningRequest) Descriptor
deprecated
func (*CertificateSigningRequest) Descriptor() ([]byte, []int)
Deprecated: Use CertificateSigningRequest.ProtoReflect.Descriptor instead.
func (*CertificateSigningRequest) GetCertificateSigningRequest ¶
func (x *CertificateSigningRequest) GetCertificateSigningRequest() []byte
func (*CertificateSigningRequest) GetEncoding ¶
func (x *CertificateSigningRequest) GetEncoding() CertificateEncoding
func (*CertificateSigningRequest) GetType ¶
func (x *CertificateSigningRequest) GetType() CertificateType
func (*CertificateSigningRequest) ProtoMessage ¶
func (*CertificateSigningRequest) ProtoMessage()
func (*CertificateSigningRequest) ProtoReflect ¶
func (x *CertificateSigningRequest) ProtoReflect() protoreflect.Message
func (*CertificateSigningRequest) Reset ¶
func (x *CertificateSigningRequest) Reset()
func (*CertificateSigningRequest) String ¶
func (x *CertificateSigningRequest) String() string
type CertificateType ¶
type CertificateType int32
const ( CertificateType_CERTIFICATE_TYPE_UNSPECIFIED CertificateType = 0 CertificateType_CERTIFICATE_TYPE_X509 CertificateType = 1 )
func (CertificateType) Descriptor ¶
func (CertificateType) Descriptor() protoreflect.EnumDescriptor
func (CertificateType) Enum ¶
func (x CertificateType) Enum() *CertificateType
func (CertificateType) EnumDescriptor
deprecated
func (CertificateType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CertificateType.Descriptor instead.
func (CertificateType) Number ¶
func (x CertificateType) Number() protoreflect.EnumNumber
func (CertificateType) String ¶
func (x CertificateType) String() string
func (CertificateType) Type ¶
func (CertificateType) Type() protoreflect.EnumType
type CertzClient ¶
type CertzClient interface {
Rotate(ctx context.Context, opts ...grpc.CallOption) (Certz_RotateClient, error)
AddProfile(ctx context.Context, in *AddProfileRequest, opts ...grpc.CallOption) (*AddProfileResponse, error)
DeleteProfile(ctx context.Context, in *DeleteProfileRequest, opts ...grpc.CallOption) (*DeleteProfileResponse, error)
GetProfileList(ctx context.Context, in *GetProfileListRequest, opts ...grpc.CallOption) (*GetProfileListResponse, error)
CanGenerateCSR(ctx context.Context, in *CanGenerateCSRRequest, opts ...grpc.CallOption) (*CanGenerateCSRResponse, error)
}
CertzClient is the client API for Certz 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 NewCertzClient ¶
func NewCertzClient(cc grpc.ClientConnInterface) CertzClient
type CertzServer ¶
type CertzServer interface {
Rotate(Certz_RotateServer) error
AddProfile(context.Context, *AddProfileRequest) (*AddProfileResponse, error)
DeleteProfile(context.Context, *DeleteProfileRequest) (*DeleteProfileResponse, error)
GetProfileList(context.Context, *GetProfileListRequest) (*GetProfileListResponse, error)
CanGenerateCSR(context.Context, *CanGenerateCSRRequest) (*CanGenerateCSRResponse, error)
// contains filtered or unexported methods
}
CertzServer is the server API for Certz service. All implementations must embed UnimplementedCertzServer for forward compatibility
type Certz_RotateClient ¶
type Certz_RotateClient interface {
Send(*RotateCertificateRequest) error
Recv() (*RotateCertificateResponse, error)
grpc.ClientStream
}
type Certz_RotateServer ¶
type Certz_RotateServer interface {
Send(*RotateCertificateResponse) error
Recv() (*RotateCertificateRequest, error)
grpc.ServerStream
}
type DeleteProfileRequest ¶
type DeleteProfileRequest struct {
SslProfileId string `protobuf:"bytes,1,opt,name=ssl_profile_id,json=sslProfileId,proto3" json:"ssl_profile_id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteProfileRequest) Descriptor
deprecated
func (*DeleteProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProfileRequest.ProtoReflect.Descriptor instead.
func (*DeleteProfileRequest) GetSslProfileId ¶
func (x *DeleteProfileRequest) GetSslProfileId() string
func (*DeleteProfileRequest) ProtoMessage ¶
func (*DeleteProfileRequest) ProtoMessage()
func (*DeleteProfileRequest) ProtoReflect ¶
func (x *DeleteProfileRequest) ProtoReflect() protoreflect.Message
func (*DeleteProfileRequest) Reset ¶
func (x *DeleteProfileRequest) Reset()
func (*DeleteProfileRequest) String ¶
func (x *DeleteProfileRequest) String() string
type DeleteProfileResponse ¶
type DeleteProfileResponse struct {
// contains filtered or unexported fields
}
func (*DeleteProfileResponse) Descriptor
deprecated
func (*DeleteProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProfileResponse.ProtoReflect.Descriptor instead.
func (*DeleteProfileResponse) ProtoMessage ¶
func (*DeleteProfileResponse) ProtoMessage()
func (*DeleteProfileResponse) ProtoReflect ¶
func (x *DeleteProfileResponse) ProtoReflect() protoreflect.Message
func (*DeleteProfileResponse) Reset ¶
func (x *DeleteProfileResponse) Reset()
func (*DeleteProfileResponse) String ¶
func (x *DeleteProfileResponse) String() string
type Entity ¶
type Entity struct {
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
CreatedOn uint64 `protobuf:"varint,2,opt,name=created_on,json=createdOn,proto3" json:"created_on,omitempty"`
// Types that are assignable to Entity:
// *Entity_CertificateChain
// *Entity_TrustBundle
// *Entity_CertificateRevocationListBundle
Entity isEntity_Entity `protobuf_oneof:"entity"`
// contains filtered or unexported fields
}
func (*Entity) Descriptor
deprecated
func (*Entity) GetCertificateChain ¶
func (x *Entity) GetCertificateChain() *CertificateChain
func (*Entity) GetCertificateRevocationListBundle ¶
func (x *Entity) GetCertificateRevocationListBundle() *CertificateRevocationListBundle
func (*Entity) GetCreatedOn ¶
func (*Entity) GetTrustBundle ¶
func (x *Entity) GetTrustBundle() *CertificateChain
func (*Entity) GetVersion ¶
func (*Entity) ProtoMessage ¶
func (*Entity) ProtoMessage()
func (*Entity) ProtoReflect ¶
func (x *Entity) ProtoReflect() protoreflect.Message
type Entity_CertificateChain ¶
type Entity_CertificateChain struct {
CertificateChain *CertificateChain `protobuf:"bytes,3,opt,name=certificate_chain,json=certificateChain,proto3,oneof"`
}
type Entity_CertificateRevocationListBundle ¶
type Entity_CertificateRevocationListBundle struct {
CertificateRevocationListBundle *CertificateRevocationListBundle `protobuf:"bytes,5,opt,name=certificate_revocation_list_bundle,json=certificateRevocationListBundle,proto3,oneof"`
}
type Entity_TrustBundle ¶
type Entity_TrustBundle struct {
TrustBundle *CertificateChain `protobuf:"bytes,4,opt,name=trust_bundle,json=trustBundle,proto3,oneof"`
}
type FinalizeRequest ¶
type FinalizeRequest struct {
// contains filtered or unexported fields
}
func (*FinalizeRequest) Descriptor
deprecated
func (*FinalizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use FinalizeRequest.ProtoReflect.Descriptor instead.
func (*FinalizeRequest) ProtoMessage ¶
func (*FinalizeRequest) ProtoMessage()
func (*FinalizeRequest) ProtoReflect ¶
func (x *FinalizeRequest) ProtoReflect() protoreflect.Message
func (*FinalizeRequest) Reset ¶
func (x *FinalizeRequest) Reset()
func (*FinalizeRequest) String ¶
func (x *FinalizeRequest) String() string
type GenerateCSRRequest ¶
type GenerateCSRRequest struct {
Params *CSRParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
// contains filtered or unexported fields
}
func (*GenerateCSRRequest) Descriptor
deprecated
func (*GenerateCSRRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateCSRRequest.ProtoReflect.Descriptor instead.
func (*GenerateCSRRequest) GetParams ¶
func (x *GenerateCSRRequest) GetParams() *CSRParams
func (*GenerateCSRRequest) ProtoMessage ¶
func (*GenerateCSRRequest) ProtoMessage()
func (*GenerateCSRRequest) ProtoReflect ¶
func (x *GenerateCSRRequest) ProtoReflect() protoreflect.Message
func (*GenerateCSRRequest) Reset ¶
func (x *GenerateCSRRequest) Reset()
func (*GenerateCSRRequest) String ¶
func (x *GenerateCSRRequest) String() string
type GenerateCSRResponse ¶
type GenerateCSRResponse struct {
CertificateSigningRequest *CertificateSigningRequest `` /* 138-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*GenerateCSRResponse) Descriptor
deprecated
func (*GenerateCSRResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateCSRResponse.ProtoReflect.Descriptor instead.
func (*GenerateCSRResponse) GetCertificateSigningRequest ¶
func (x *GenerateCSRResponse) GetCertificateSigningRequest() *CertificateSigningRequest
func (*GenerateCSRResponse) ProtoMessage ¶
func (*GenerateCSRResponse) ProtoMessage()
func (*GenerateCSRResponse) ProtoReflect ¶
func (x *GenerateCSRResponse) ProtoReflect() protoreflect.Message
func (*GenerateCSRResponse) Reset ¶
func (x *GenerateCSRResponse) Reset()
func (*GenerateCSRResponse) String ¶
func (x *GenerateCSRResponse) String() string
type GetProfileListRequest ¶
type GetProfileListRequest struct {
// contains filtered or unexported fields
}
func (*GetProfileListRequest) Descriptor
deprecated
func (*GetProfileListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProfileListRequest.ProtoReflect.Descriptor instead.
func (*GetProfileListRequest) ProtoMessage ¶
func (*GetProfileListRequest) ProtoMessage()
func (*GetProfileListRequest) ProtoReflect ¶
func (x *GetProfileListRequest) ProtoReflect() protoreflect.Message
func (*GetProfileListRequest) Reset ¶
func (x *GetProfileListRequest) Reset()
func (*GetProfileListRequest) String ¶
func (x *GetProfileListRequest) String() string
type GetProfileListResponse ¶
type GetProfileListResponse struct {
SslProfileIds []string `protobuf:"bytes,1,rep,name=ssl_profile_ids,json=sslProfileIds,proto3" json:"ssl_profile_ids,omitempty"`
// contains filtered or unexported fields
}
func (*GetProfileListResponse) Descriptor
deprecated
func (*GetProfileListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProfileListResponse.ProtoReflect.Descriptor instead.
func (*GetProfileListResponse) GetSslProfileIds ¶
func (x *GetProfileListResponse) GetSslProfileIds() []string
func (*GetProfileListResponse) ProtoMessage ¶
func (*GetProfileListResponse) ProtoMessage()
func (*GetProfileListResponse) ProtoReflect ¶
func (x *GetProfileListResponse) ProtoReflect() protoreflect.Message
func (*GetProfileListResponse) Reset ¶
func (x *GetProfileListResponse) Reset()
func (*GetProfileListResponse) String ¶
func (x *GetProfileListResponse) String() string
type RotateCertificateRequest ¶
type RotateCertificateRequest struct {
ForceOverwrite bool `protobuf:"varint,1,opt,name=force_overwrite,json=forceOverwrite,proto3" json:"force_overwrite,omitempty"`
SslProfileId string `protobuf:"bytes,2,opt,name=ssl_profile_id,json=sslProfileId,proto3" json:"ssl_profile_id,omitempty"`
// Types that are assignable to RotateRequest:
// *RotateCertificateRequest_GenerateCsr
// *RotateCertificateRequest_Certificates
// *RotateCertificateRequest_FinalizeRotation
RotateRequest isRotateCertificateRequest_RotateRequest `protobuf_oneof:"rotate_request"`
// contains filtered or unexported fields
}
func (*RotateCertificateRequest) Descriptor
deprecated
func (*RotateCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use RotateCertificateRequest.ProtoReflect.Descriptor instead.
func (*RotateCertificateRequest) GetCertificates ¶
func (x *RotateCertificateRequest) GetCertificates() *UploadRequest
func (*RotateCertificateRequest) GetFinalizeRotation ¶
func (x *RotateCertificateRequest) GetFinalizeRotation() *FinalizeRequest
func (*RotateCertificateRequest) GetForceOverwrite ¶
func (x *RotateCertificateRequest) GetForceOverwrite() bool
func (*RotateCertificateRequest) GetGenerateCsr ¶
func (x *RotateCertificateRequest) GetGenerateCsr() *GenerateCSRRequest
func (*RotateCertificateRequest) GetRotateRequest ¶
func (m *RotateCertificateRequest) GetRotateRequest() isRotateCertificateRequest_RotateRequest
func (*RotateCertificateRequest) GetSslProfileId ¶
func (x *RotateCertificateRequest) GetSslProfileId() string
func (*RotateCertificateRequest) ProtoMessage ¶
func (*RotateCertificateRequest) ProtoMessage()
func (*RotateCertificateRequest) ProtoReflect ¶
func (x *RotateCertificateRequest) ProtoReflect() protoreflect.Message
func (*RotateCertificateRequest) Reset ¶
func (x *RotateCertificateRequest) Reset()
func (*RotateCertificateRequest) String ¶
func (x *RotateCertificateRequest) String() string
type RotateCertificateRequest_Certificates ¶
type RotateCertificateRequest_Certificates struct {
Certificates *UploadRequest `protobuf:"bytes,4,opt,name=certificates,proto3,oneof"`
}
type RotateCertificateRequest_FinalizeRotation ¶
type RotateCertificateRequest_FinalizeRotation struct {
FinalizeRotation *FinalizeRequest `protobuf:"bytes,5,opt,name=finalize_rotation,json=finalizeRotation,proto3,oneof"`
}
type RotateCertificateRequest_GenerateCsr ¶
type RotateCertificateRequest_GenerateCsr struct {
GenerateCsr *GenerateCSRRequest `protobuf:"bytes,3,opt,name=generate_csr,json=generateCsr,proto3,oneof"`
}
type RotateCertificateResponse ¶
type RotateCertificateResponse struct {
// Types that are assignable to RotateResponse:
// *RotateCertificateResponse_GeneratedCsr
// *RotateCertificateResponse_Certificates
RotateResponse isRotateCertificateResponse_RotateResponse `protobuf_oneof:"rotate_response"`
// contains filtered or unexported fields
}
func (*RotateCertificateResponse) Descriptor
deprecated
func (*RotateCertificateResponse) Descriptor() ([]byte, []int)
Deprecated: Use RotateCertificateResponse.ProtoReflect.Descriptor instead.
func (*RotateCertificateResponse) GetCertificates ¶
func (x *RotateCertificateResponse) GetCertificates() *UploadResponse
func (*RotateCertificateResponse) GetGeneratedCsr ¶
func (x *RotateCertificateResponse) GetGeneratedCsr() *GenerateCSRResponse
func (*RotateCertificateResponse) GetRotateResponse ¶
func (m *RotateCertificateResponse) GetRotateResponse() isRotateCertificateResponse_RotateResponse
func (*RotateCertificateResponse) ProtoMessage ¶
func (*RotateCertificateResponse) ProtoMessage()
func (*RotateCertificateResponse) ProtoReflect ¶
func (x *RotateCertificateResponse) ProtoReflect() protoreflect.Message
func (*RotateCertificateResponse) Reset ¶
func (x *RotateCertificateResponse) Reset()
func (*RotateCertificateResponse) String ¶
func (x *RotateCertificateResponse) String() string
type RotateCertificateResponse_Certificates ¶
type RotateCertificateResponse_Certificates struct {
Certificates *UploadResponse `protobuf:"bytes,2,opt,name=certificates,proto3,oneof"`
}
type RotateCertificateResponse_GeneratedCsr ¶
type RotateCertificateResponse_GeneratedCsr struct {
GeneratedCsr *GenerateCSRResponse `protobuf:"bytes,1,opt,name=generated_csr,json=generatedCsr,proto3,oneof"`
}
type UnimplementedCertzServer ¶
type UnimplementedCertzServer struct {
}
UnimplementedCertzServer must be embedded to have forward compatible implementations.
func (UnimplementedCertzServer) AddProfile ¶
func (UnimplementedCertzServer) AddProfile(context.Context, *AddProfileRequest) (*AddProfileResponse, error)
func (UnimplementedCertzServer) CanGenerateCSR ¶
func (UnimplementedCertzServer) CanGenerateCSR(context.Context, *CanGenerateCSRRequest) (*CanGenerateCSRResponse, error)
func (UnimplementedCertzServer) DeleteProfile ¶
func (UnimplementedCertzServer) DeleteProfile(context.Context, *DeleteProfileRequest) (*DeleteProfileResponse, error)
func (UnimplementedCertzServer) GetProfileList ¶
func (UnimplementedCertzServer) GetProfileList(context.Context, *GetProfileListRequest) (*GetProfileListResponse, error)
func (UnimplementedCertzServer) Rotate ¶
func (UnimplementedCertzServer) Rotate(Certz_RotateServer) error
type UnsafeCertzServer ¶
type UnsafeCertzServer interface {
// contains filtered or unexported methods
}
UnsafeCertzServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CertzServer will result in compilation errors.
type UploadRequest ¶
type UploadRequest struct {
Entities []*Entity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
// contains filtered or unexported fields
}
func (*UploadRequest) Descriptor
deprecated
func (*UploadRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadRequest.ProtoReflect.Descriptor instead.
func (*UploadRequest) GetEntities ¶
func (x *UploadRequest) GetEntities() []*Entity
func (*UploadRequest) ProtoMessage ¶
func (*UploadRequest) ProtoMessage()
func (*UploadRequest) ProtoReflect ¶
func (x *UploadRequest) ProtoReflect() protoreflect.Message
func (*UploadRequest) Reset ¶
func (x *UploadRequest) Reset()
func (*UploadRequest) String ¶
func (x *UploadRequest) String() string
type UploadResponse ¶
type UploadResponse struct {
// contains filtered or unexported fields
}
func (*UploadResponse) Descriptor
deprecated
func (*UploadResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadResponse.ProtoReflect.Descriptor instead.
func (*UploadResponse) ProtoMessage ¶
func (*UploadResponse) ProtoMessage()
func (*UploadResponse) ProtoReflect ¶
func (x *UploadResponse) ProtoReflect() protoreflect.Message
func (*UploadResponse) Reset ¶
func (x *UploadResponse) Reset()
func (*UploadResponse) String ¶
func (x *UploadResponse) String() string
type V3ExtensionSAN ¶
type V3ExtensionSAN struct {
Dns []string `protobuf:"bytes,1,rep,name=dns,proto3" json:"dns,omitempty"`
Emails []string `protobuf:"bytes,2,rep,name=emails,proto3" json:"emails,omitempty"`
Ips []string `protobuf:"bytes,3,rep,name=ips,proto3" json:"ips,omitempty"`
Uris []string `protobuf:"bytes,4,rep,name=uris,proto3" json:"uris,omitempty"`
// contains filtered or unexported fields
}
func (*V3ExtensionSAN) Descriptor
deprecated
func (*V3ExtensionSAN) Descriptor() ([]byte, []int)
Deprecated: Use V3ExtensionSAN.ProtoReflect.Descriptor instead.
func (*V3ExtensionSAN) GetDns ¶
func (x *V3ExtensionSAN) GetDns() []string
func (*V3ExtensionSAN) GetEmails ¶
func (x *V3ExtensionSAN) GetEmails() []string
func (*V3ExtensionSAN) GetIps ¶
func (x *V3ExtensionSAN) GetIps() []string
func (*V3ExtensionSAN) GetUris ¶
func (x *V3ExtensionSAN) GetUris() []string
func (*V3ExtensionSAN) ProtoMessage ¶
func (*V3ExtensionSAN) ProtoMessage()
func (*V3ExtensionSAN) ProtoReflect ¶
func (x *V3ExtensionSAN) ProtoReflect() protoreflect.Message
func (*V3ExtensionSAN) Reset ¶
func (x *V3ExtensionSAN) Reset()
func (*V3ExtensionSAN) String ¶
func (x *V3ExtensionSAN) String() string