Documentation ¶
Index ¶
- func GenerateLeafCert(subject string, oidcIssuer string, parentTemplate *x509.Certificate, ...) (*x509.Certificate, *ecdsa.PrivateKey, error)
- func GenerateRootCA() (*x509.Certificate, *ecdsa.PrivateKey, error)
- func GenerateRootCAFromSigner(signer crypto.Signer) (*x509.Certificate, error)
- func GenerateSubordinateCA(rootTemplate *x509.Certificate, rootPriv crypto.Signer) (*x509.Certificate, *ecdsa.PrivateKey, error)
- func GenerateSubordinateCAWithoutEKU(rootTemplate *x509.Certificate, rootPriv crypto.Signer) (*x509.Certificate, *ecdsa.PrivateKey, error)
- func GenerateWeakSubordinateCA(rootTemplate *x509.Certificate, rootPriv crypto.Signer) (*x509.Certificate, *ecdsa.PrivateKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateLeafCert ¶
func GenerateLeafCert(subject string, oidcIssuer string, parentTemplate *x509.Certificate, parentPriv crypto.Signer) (*x509.Certificate, *ecdsa.PrivateKey, error)
func GenerateRootCA ¶
func GenerateRootCA() (*x509.Certificate, *ecdsa.PrivateKey, error)
func GenerateRootCAFromSigner ¶ added in v0.5.1
func GenerateRootCAFromSigner(signer crypto.Signer) (*x509.Certificate, error)
func GenerateSubordinateCA ¶
func GenerateSubordinateCA(rootTemplate *x509.Certificate, rootPriv crypto.Signer) (*x509.Certificate, *ecdsa.PrivateKey, error)
func GenerateSubordinateCAWithoutEKU ¶
func GenerateSubordinateCAWithoutEKU(rootTemplate *x509.Certificate, rootPriv crypto.Signer) (*x509.Certificate, *ecdsa.PrivateKey, error)
func GenerateWeakSubordinateCA ¶
func GenerateWeakSubordinateCA(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.