Documentation
¶
Index ¶
- func Delete(service *services.Service, certID int) (*http.Response, error)
- type CertSigningRequest
- type IntermediateCACertificate
- func CreateIntCACertificate(service *services.Service, cert *IntermediateCACertificate) (*IntermediateCACertificate, error)
- func CreateIntCAFinalizeCert(service *services.Service, cert *IntermediateCACertificate) (*IntermediateCACertificate, error)
- func CreateIntCAGenerateCSR(service *services.Service, cert *IntermediateCACertificate) (*IntermediateCACertificate, error)
- func CreateIntCAKeyPair(service *services.Service, keyPair *IntermediateCACertificate) (*IntermediateCACertificate, error)
- func CreateUploadCert(service *services.Service, certID *IntermediateCACertificate) (*IntermediateCACertificate, error)
- func CreateUploadCertChain(service *services.Service, certID *IntermediateCACertificate) (*IntermediateCACertificate, error)
- func CreateVerifyKeyAttestation(service *services.Service, certID *IntermediateCACertificate) (*IntermediateCACertificate, error)
- func GetAll(service *services.Service) ([]IntermediateCACertificate, error)
- func GetByName(service *services.Service, certName string) (*IntermediateCACertificate, error)
- func GetCertificate(service *services.Service, certID int) (*IntermediateCACertificate, error)
- func GetDownloadAttestation(service *services.Service, certID int) (*IntermediateCACertificate, error)
- func GetDownloadCSR(service *services.Service, certID int) (*IntermediateCACertificate, error)
- func GetDownloadPublicKey(service *services.Service, certID int) (*IntermediateCACertificate, error)
- func GetIntCAReadyToUse(service *services.Service) ([]IntermediateCACertificate, error)
- func Update(service *services.Service, certID int, certificates *IntermediateCACertificate) (*IntermediateCACertificate, error)
- func UpdateMakeDefault(service *services.Service, certID int, certificates *IntermediateCACertificate) (*IntermediateCACertificate, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CertSigningRequest ¶
type CertSigningRequest struct { // Unique identifier for the intermediate CA certificate CertID int `json:"certId"` // Name of the CSR file CSRFileName string `json:"csrFileName,omitempty"` // Common Name (CN) of your organization’s domain, such as zscaler.com CommName string `json:"commName,omitempty"` // Name of your organization or company ORGName string `json:"orgName,omitempty"` // Name of your department or division DeptName string `json:"deptName,omitempty"` // Name of the city or town where your organization is located City string `json:"city,omitempty"` // State, province, region, or county where your organization is located State string `json:"state,omitempty"` // Country where your organization is located Country string `json:"country,omitempty"` // Key size to be used in the encryption algorithm in bits. Default size: 2048 bits KeySize int `json:"keySize,omitempty"` // Signature algorithm to be used for generating intermediate CA certificate. Default value: SHA256 SignatureAlgorithm string `json:"signatureAlgorithm,omitempty"` // The path length constraint for the intermediate CA certificate. Default values: 0 for cloud HSM, 1 for software protection PathLengthConstraint int `json:"pathLengthConstraint,omitempty"` }
func GetShowCSR ¶ added in v2.61.0
func GetShowCSR(service *services.Service, certID int) (*CertSigningRequest, error)
func GetShowCert ¶ added in v2.61.0
func GetShowCert(service *services.Service, certID int) (*CertSigningRequest, error)
type IntermediateCACertificate ¶
type IntermediateCACertificate struct { // Unique identifier for the intermediate CA certificat ID int `json:"id"` // Name of the intermediate CA certificate Name string `json:"name,omitempty"` // Description for the intermediate CA certificate Description string `json:"description,omitempty"` // Type of the intermediate CA certificate. Available types: Zscaler’s intermediate CA certificate (provided by Zscaler), custom intermediate certificate with software protection, and custom intermediate certificate with cloud HSM protection. Type string `json:"type,omitempty"` // Location of the HSM resources. Required for custom intermediate CA certificates with cloud HSM protection Region string `json:"region,omitempty"` // Determines whether the intermediate CA certificate is enabled or disabled for SSL inspection. Subscription to cloud HSM protection allows a maximum of four active certificates for SSL inspection at a time, whereas software protection subscription allows only one active certificate Status string `json:"status,omitempty"` // If set to true, the intermediate CA certificate is the default intermediate certificate. Only one certificate can be marked as the default intermediate certificate at a time DefaultCertificate bool `json:"defaultCertificate,omitempty"` // Start date of the intermediate CA certificate’s validity period CertStartDate int `json:"certStartDate,omitempty"` // Expiration date of the intermediate CA certificate’s validity period CertExpDate int `json:"certExpDate,omitempty"` // Tracks the progress of the intermediate CA certificate in the configuration workflow CurrentState string `json:"currentState,omitempty"` // Public key in the HSM key pair generated for the intermediate CA certificate PublicKey string `json:"publicKey,omitempty"` // Timestamp when the HSM key was generated KeyGenerationTime int `json:"keyGenerationTime,omitempty"` // Timestamp when the attestation for the HSM key was verified HSMAttestationVerifiedTime int `json:"hsmAttestationVerifiedTime,omitempty"` // Certificate Signing Request (CSR) file name CSRFileName string `json:"csrFileName,omitempty"` // Timestamp when the Certificate Signing Request (CSR) was generated CSRGenerationTime int `json:"csrGenerationTime,omitempty"` }
func CreateIntCACertificate ¶ added in v2.61.0
func CreateIntCACertificate(service *services.Service, cert *IntermediateCACertificate) (*IntermediateCACertificate, error)
func CreateIntCAFinalizeCert ¶ added in v2.61.0
func CreateIntCAFinalizeCert(service *services.Service, cert *IntermediateCACertificate) (*IntermediateCACertificate, error)
func CreateIntCAGenerateCSR ¶ added in v2.61.0
func CreateIntCAGenerateCSR(service *services.Service, cert *IntermediateCACertificate) (*IntermediateCACertificate, error)
func CreateIntCAKeyPair ¶ added in v2.61.0
func CreateIntCAKeyPair(service *services.Service, keyPair *IntermediateCACertificate) (*IntermediateCACertificate, error)
func CreateUploadCert ¶ added in v2.61.0
func CreateUploadCert(service *services.Service, certID *IntermediateCACertificate) (*IntermediateCACertificate, error)
func CreateUploadCertChain ¶ added in v2.61.0
func CreateUploadCertChain(service *services.Service, certID *IntermediateCACertificate) (*IntermediateCACertificate, error)
func CreateVerifyKeyAttestation ¶ added in v2.61.0
func CreateVerifyKeyAttestation(service *services.Service, certID *IntermediateCACertificate) (*IntermediateCACertificate, error)
func GetAll ¶ added in v2.61.0
func GetAll(service *services.Service) ([]IntermediateCACertificate, error)
func GetByName ¶ added in v2.61.0
func GetByName(service *services.Service, certName string) (*IntermediateCACertificate, error)
func GetCertificate ¶ added in v2.61.0
func GetCertificate(service *services.Service, certID int) (*IntermediateCACertificate, error)
func GetDownloadAttestation ¶ added in v2.61.0
func GetDownloadAttestation(service *services.Service, certID int) (*IntermediateCACertificate, error)
func GetDownloadCSR ¶ added in v2.61.0
func GetDownloadCSR(service *services.Service, certID int) (*IntermediateCACertificate, error)
func GetDownloadPublicKey ¶ added in v2.61.0
func GetDownloadPublicKey(service *services.Service, certID int) (*IntermediateCACertificate, error)
func GetIntCAReadyToUse ¶ added in v2.61.0
func GetIntCAReadyToUse(service *services.Service) ([]IntermediateCACertificate, error)
func Update ¶ added in v2.61.0
func Update(service *services.Service, certID int, certificates *IntermediateCACertificate) (*IntermediateCACertificate, error)
func UpdateMakeDefault ¶ added in v2.61.0
func UpdateMakeDefault(service *services.Service, certID int, certificates *IntermediateCACertificate) (*IntermediateCACertificate, error)
Click to show internal directories.
Click to hide internal directories.