Documentation ¶
Index ¶
- func CreateAnchorCert(template *x509.Certificate, useElliptic bool, certOutput io.Writer, ...) error
- func CreateCert(template *x509.Certificate, useElliptic bool, anchorCert []byte, ...) error
- func CreateCertTemplate(role ssntp.Role, organization string, email string, hosts []string, ...) (*x509.Certificate, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAnchorCert ¶
func CreateAnchorCert(template *x509.Certificate, useElliptic bool, certOutput io.Writer, caCertOutput io.Writer) error
CreateAnchorCert creates the trust anchor certificate and the CA certificate. Both are written out PEM encoded.
func CreateCert ¶
func CreateCert(template *x509.Certificate, useElliptic bool, anchorCert []byte, certOutput io.Writer) error
CreateCert creates the certificate signed by the giver trust anchor certificate. It is written PEM encoded.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.