bacertificate

package
v3.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(ctx context.Context, service *zscaler.Service, baCertificateID string) (*http.Response, error)

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"`
}

func Create

func Create(ctx context.Context, service *zscaler.Service, baCertificate BaCertificate) (*BaCertificate, *http.Response, error)

func Get

func Get(ctx context.Context, service *zscaler.Service, baCertificateID string) (*BaCertificate, *http.Response, error)

func GetAll

func GetAll(ctx context.Context, service *zscaler.Service) ([]BaCertificate, *http.Response, error)

func GetIssuedByName

func GetIssuedByName(ctx context.Context, service *zscaler.Service, CertName string) (*BaCertificate, *http.Response, error)

Jump to

Keyboard shortcuts

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