Documentation ¶
Index ¶
- func GenerateExpiredLeafCert(subject string, oidcIssuer string, parentTemplate *x509.Certificate, ...) (*x509.Certificate, *ecdsa.PrivateKey, error)
- func GenerateLeafCert(subject, oidcIssuer string, uri *url.URL, parentTemplate *x509.Certificate, ...) (*x509.Certificate, *ecdsa.PrivateKey, error)
- func GenerateLeafCertWithSubjectAlternateNames(dnsNames []string, emailAddresses []string, ipAddresses []net.IP, ...) (*x509.Certificate, *ecdsa.PrivateKey, error)
- func GenerateRootCa() (*x509.Certificate, *ecdsa.PrivateKey, error)
- func GenerateSubordinateCa(rootTemplate *x509.Certificate, rootPriv crypto.Signer) (*x509.Certificate, *ecdsa.PrivateKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateExpiredLeafCert ¶ added in v0.8.1
func GenerateExpiredLeafCert(subject string, oidcIssuer string, parentTemplate *x509.Certificate, parentPriv crypto.Signer) (*x509.Certificate, *ecdsa.PrivateKey, error)
func GenerateLeafCert ¶
func GenerateLeafCert(subject, oidcIssuer string, uri *url.URL, parentTemplate *x509.Certificate, parentPriv crypto.Signer, exts ...pkix.Extension) (*x509.Certificate, *ecdsa.PrivateKey, error)
func GenerateLeafCertWithSubjectAlternateNames ¶ added in v1.1.0
func GenerateRootCa ¶
func GenerateRootCa() (*x509.Certificate, *ecdsa.PrivateKey, error)
func GenerateSubordinateCa ¶
func GenerateSubordinateCa(rootTemplate *x509.Certificate, rootPriv crypto.Signer) (*x509.Certificate, *ecdsa.PrivateKey, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.