package
0.0.1
Repository: https://github.com/prodanlabs/kaadm.git
Documentation: pkg.go.dev

# Functions

EncodeCertPEM returns PEM-endcoded certificate data.
No description provided by the author
NewCACertAndKey The public and private keys of the root certificate are returned.
NewCertAndKey creates new certificate and key by passing the certificate authority certificate and key.
NewCertificateAuthority creates new certificate and private key for the certificate authority.
NewSignedCert creates a signed certificate using the given CA certificate and key.
RemoveDuplicateAltNames removes duplicate items in altNames.
WriteCert stores the given certificate at the given location.
WriteCertAndKey Write certificate and key to file.
WriteKey stores the given key at the given location.

# Constants

CertificateBlockType is a possible value for pem.Block.Type.

# Variables

NewPrivateKey returns a new private key.

# Structs

CertAndKeyFileName is generate certificate and key file name.
CertConfig is a wrapper around certutil.Config extending it with PublicKeyAlgorithm.
Config certificate information.