package
1.10.4-alpha
Repository: https://github.com/platform9/pf9-clusteradm.git
Documentation: pkg.go.dev

# Functions

CertOrKeyExist returns a boolean whether the cert or the key exists.
HasServerAuth returns true if the given certificate is a ServerAuth.
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.
TryLoadCertAndKeyFromDisk tries to load a cert and a key from the disk and validates that they are valid.
TryLoadCertFromDisk tries to load the cert from the disk and validates that it is valid.
TryLoadKeyFromDisk tries to load the key from the disk and validates that it is valid.
TryLoadPrivatePublicKeyFromDisk tries to load the key from the disk and validates that it is valid.
WriteCert stores the given certificate at the given location.
WriteCertAndKey stores certificate and key at the specified location.
WriteKey stores the given key at the given location.
WritePublicKey stores the given public key at the given location.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author