Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindLeafCertificate ¶
FindLeafCertificate returns the contents of the leaf certificate with the supplied ID
func FindLeafPrivateKey ¶
FindLeafPrivateKey returns the contents of the leaf private key with the supplied ID
func GenerateLeafCertAndKey ¶
func GenerateLeafCertAndKey(request entity.CertificateRequest) (int64, error)
GenerateLeafCertAndKey generates a certificate signed by the root certificate and a private key.
func GenerateRootCertAndKey ¶
func GenerateRootCertAndKey() error
GenerateRootCertAndKey generates the root private key and with it, the root certificate
func GetNextSerialNumber ¶
GetNextSerialNumber fetches the next serial number.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.