Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCertificate ¶
func CreateCertificate(params CertParams) ([]byte, error)
Types ¶
type CertParams ¶
type SubjectVars ¶
type SubjectVars struct { IA addr.IA `json:"isd_as,omitempty"` CommonName string `json:"common_name,omitempty"` Country string `json:"country,omitempty"` Locality string `json:"locality,omitempty"` Organization string `json:"organization,omitempty"` OrganizationalUnit string `json:"organizational_unit,omitempty"` PostalCode string `json:"postal_code,omitempty"` Province string `json:"province,omitempty"` SerialNumber string `json:"serial_number,omitempty"` StreetAddress string `json:"street_address,omitempty"` }
Click to show internal directories.
Click to hide internal directories.