intermediatecacertificates

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertSigningRequest added in v0.5.0

type CertSigningRequest struct {
	CertID               int    `json:"certId"`
	CSRFileName          string `json:"csrFileName,omitempty"`
	CommName             string `json:"commName,omitempty"`
	ORGName              string `json:"orgName,omitempty"`
	DeptName             string `json:"deptName,omitempty"`
	City                 string `json:"city,omitempty"`
	State                string `json:"state,omitempty"`
	Country              string `json:"country,omitempty"`
	KeySize              int    `json:"keySize,omitempty"`
	SignatureAlgorithm   string `json:"signatureAlgorithm,omitempty"`
	PathLengthConstraint int    `json:"pathLengthConstraint,omitempty"`
}

type IntermediateCACertificate

type IntermediateCACertificate struct {
	ID                         int    `json:"id"`
	Name                       string `json:"name,omitempty"`
	Description                string `json:"description,omitempty"`
	Type                       string `json:"type,omitempty"`
	Region                     string `json:"region,omitempty"`
	Status                     string `json:"status,omitempty"`
	DefaultCertificate         bool   `json:"defaultCertificate,omitempty"`
	CertStartDate              int    `json:"certStartDate,omitempty"`
	CertExpDate                int    `json:"certExpDate,omitempty"`
	CurrentState               string `json:"currentState,omitempty"`
	PublicKey                  string `json:"publicKey,omitempty"`
	KeyGenerationTime          int    `json:"keyGenerationTime,omitempty"`
	HSMAttestationVerifiedTime int    `json:"hsmAttestationVerifiedTime,omitempty"`
	CSRFileName                string `json:"csrFileName,omitempty"`
	CSRGenerationTime          int    `json:"csrGenerationTime,omitempty"`
}

type Service

type Service struct {
	Client *zia.Client
}

func New

func New(c *zia.Client) *Service

func (*Service) CreateIntCACertificate added in v0.5.0

func (service *Service) CreateIntCACertificate(cert *IntermediateCACertificate) (*IntermediateCACertificate, error)

func (*Service) CreateIntCAFinalizeCert added in v0.5.0

func (service *Service) CreateIntCAFinalizeCert(cert *IntermediateCACertificate) (*IntermediateCACertificate, error)

func (*Service) CreateIntCAGenerateCSR added in v0.5.0

func (service *Service) CreateIntCAGenerateCSR(cert *IntermediateCACertificate) (*IntermediateCACertificate, error)

func (*Service) CreateIntCAKeyPair added in v0.5.0

func (service *Service) CreateIntCAKeyPair(keyPair *IntermediateCACertificate) (*IntermediateCACertificate, error)

func (*Service) CreateUploadCert added in v0.5.0

func (service *Service) CreateUploadCert(certID *IntermediateCACertificate) (*IntermediateCACertificate, error)

func (*Service) CreateUploadCertChain added in v0.5.0

func (service *Service) CreateUploadCertChain(certID *IntermediateCACertificate) (*IntermediateCACertificate, error)

func (*Service) CreateVerifyKeyAttestation added in v0.5.0

func (service *Service) CreateVerifyKeyAttestation(certID *IntermediateCACertificate) (*IntermediateCACertificate, error)

func (*Service) Delete

func (service *Service) Delete(certID int) (*http.Response, error)

func (*Service) Get

func (service *Service) Get(certID int) (*IntermediateCACertificate, error)

func (*Service) GetAll

func (service *Service) GetAll() ([]IntermediateCACertificate, error)

func (*Service) GetByName

func (service *Service) GetByName(certName string) (*IntermediateCACertificate, error)

func (*Service) GetDownloadAttestation added in v0.5.0

func (service *Service) GetDownloadAttestation(certID int) (*IntermediateCACertificate, error)

func (*Service) GetDownloadCSR added in v0.5.0

func (service *Service) GetDownloadCSR(certID int) (*IntermediateCACertificate, error)

func (*Service) GetDownloadPublicKey added in v0.5.0

func (service *Service) GetDownloadPublicKey(certID int) (*IntermediateCACertificate, error)

func (*Service) GetIntCAReadyToUse added in v0.5.0

func (service *Service) GetIntCAReadyToUse() (*IntermediateCACertificate, error)

func (*Service) GetShowCSR added in v0.5.0

func (service *Service) GetShowCSR(certID int) (*CertSigningRequest, error)

func (*Service) GetShowCert added in v0.5.0

func (service *Service) GetShowCert(certID int) (*CertSigningRequest, error)

func (*Service) Update

func (service *Service) Update(certID int, certificates *IntermediateCACertificate) (*IntermediateCACertificate, error)

func (*Service) UpdateMakeDefault added in v0.5.0

func (service *Service) UpdateMakeDefault(certID int, certificates *IntermediateCACertificate) (*IntermediateCACertificate, error)

Jump to

Keyboard shortcuts

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