bacertificate

package
v2.4.34 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaCertificate

type BaCertificate struct {
	ID                  string   `json:"id,omitempty"`
	Name                string   `json:"name,omitempty"`
	Description         string   `json:"description,omitempty"`
	CName               string   `json:"cName,omitempty"`
	CertChain           string   `json:"certChain,omitempty"`
	CertBlob            string   `json:"certBlob,omitempty"`
	Certificate         string   `json:"certificate,omitempty"`
	PublicKey           string   `json:"publicKey,omitempty"`
	CreationTime        string   `json:"creationTime,omitempty"`
	IssuedBy            string   `json:"issuedBy,omitempty"`
	IssuedTo            string   `json:"issuedTo,omitempty"`
	ModifiedBy          string   `json:"modifiedBy,omitempty"`
	ModifiedTime        string   `json:"modifiedTime,omitempty"`
	San                 []string `json:"san,omitempty"`
	SerialNo            string   `json:"serialNo,omitempty"`
	Status              string   `json:"status,omitempty"`
	ValidFromInEpochSec string   `json:"validFromInEpochSec,omitempty"`
	ValidToInEpochSec   string   `json:"validToInEpochSec,omitempty"`
	MicrotenantID       string   `json:"microtenantId,omitempty"`
	MicrotenantName     string   `json:"microtenantName,omitempty"`
}

type Service

type Service struct {
	Client *zpa.Client
	// contains filtered or unexported fields
}

func New

func New(c *zpa.Client) *Service

func (*Service) Create

func (service *Service) Create(baCertificate BaCertificate) (*BaCertificate, *http.Response, error)

func (*Service) Delete

func (service *Service) Delete(baCertificateID string) (*http.Response, error)

func (*Service) Get

func (service *Service) Get(baCertificateID string) (*BaCertificate, *http.Response, error)

func (*Service) GetAll

func (service *Service) GetAll() ([]BaCertificate, *http.Response, error)

func (*Service) GetIssuedByName

func (service *Service) GetIssuedByName(CertName string) (*BaCertificate, *http.Response, error)

func (*Service) WithMicroTenant added in v2.2.0

func (service *Service) WithMicroTenant(microTenantID string) *Service

Jump to

Keyboard shortcuts

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