csr

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PendingStatus  = "NEW"
	ApprobedStatus = "APPROBED"
	DeniedStatus   = "DENIED"
	RevokedStatus  = "REVOKED"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CSR

type CSR struct {
	Id                     int    `json:"id"`
	CountryName            string `json:"c"`
	StateOrProvinceName    string `json:"st"`
	LocalityName           string `json:"l"`
	OrganizationName       string `json:"o"`
	OrganizationalUnitName string `json:"ou,omitempty"`
	CommonName             string `json:"cn"`
	EmailAddress           string `json:"mail,omitempty"`
	Status                 string `json:"status"`
	CsrFilePath            string `json:"csrpath,omitempty"`
}

type CSRs

type CSRs struct {
	CSRs []CSR `json:"csr"`
}

type Data

type Data struct {
	*EmbeddedCSRs
	*CSRs
}

func (*Data) UnmarshalJSON

func (d *Data) UnmarshalJSON(data []byte) error

type EmbeddedCSRs

type EmbeddedCSRs struct {
	CSRs CSR `json:"csr"`
}

Jump to

Keyboard shortcuts

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