package
0.21.0-alpha.6
Repository: https://github.com/loft-sh/vcluster.git
Documentation: pkg.go.dev

# Functions

EncodeCertPEM returns PEM-endcoded certificate data.
IsCertExpired checks if the certificate about to expire.
MakeEllipticPrivateKeyPEM creates an ECDSA private key.
NewSignedCert creates a signed certificate using the given CA certificate and key.
ParseCertsPEM returns the x509.Certificates contained in the given PEM-encoded byte array Returns an error if a certificate could not be parsed, or if the data does not contain any certificates.
ParsePrivateKeyPEM returns a private key parsed from a PEM block in the supplied data.

# Constants

CertificateBlockType is a possible value for pem.Block.Type.
CertificateRequestBlockType is a possible value for pem.Block.Type.
ECPrivateKeyBlockType is a possible value for pem.Block.Type.
PrivateKeyBlockType is a possible value for pem.Block.Type.
PublicKeyBlockType is a possible value for pem.Block.Type.
RSAPrivateKeyBlockType is a possible value for pem.Block.Type.

# Structs

AltNames contains the domain names and IP addresses that will be added to the API Server's x509 certificate SubAltNames field.
Config contains the basic fields required for creating a certificate.