Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckCertificate ¶
func CreateCertificateTemplate ¶
func CreateCertificateTemplate(data Certificate) *x509.Certificate
NOTE: If an SSL certificate has a Subject Alternative Name (SAN) field, then SSL clients are supposed to ignore the common name value and seek a match in the SAN list. This is why the Cert always repeats the common name as the first SAN in the certificate.
func Sign ¶
func Sign(cert *x509.Certificate, signer *x509.Certificate, certPubKey, signerPrivateKey interface{}) []byte
func WritePemToFile ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.