# Packages
Package mock_certs is a generated GoMock package.
# Functions
No description provided by the author
DecodeCertPEM attempts to return a decoded certificate or nil if the encoded input does not contain a certificate.
DecodeCertRequestPEM attempts to return a decoded certificate request or nil if the encoded input does not contain a certificate request.
DecodePrivateKeyPEM attempts to return a decoded key or nil if the encoded input does not contain a private key.
EncodeCertPEM returns PEM-endcoded certificate data.
EncodeCertRequestPEM returns PEM-endcoded certificate request data.
EncodePrivateKeyPEM returns PEM-encoded private key data.
EncodePublicKeyPEM returns PEM-encoded public key data.
EncodePublicKeyPEM returns PEM-encoded public key data.
GenerateCertificateRenewRequest creates a renew CSR A new private key will be created, used to create CSR and returned.
GenerateCertificateRenewRequestSameKey creates a renew CSR A same private key in cert will be used to create CSR.
GenerateCertificateRequest creates a CSR if privKey is not provided, a new one will be created and returned if privKey is provided, it will be used to create csr and the same key will be returned.
No description provided by the author
No description provided by the author
No description provided by the author
NewCertificateAuthority creates a CertificateAuthority.
NewPrivateKey creates an RSA private key.
No description provided by the author
# Variables
RFC 5755.
# Structs
AltNames contains the domain names and IP addresses for a cert.
No description provided by the author
No description provided by the author
Config contains the basic fields required for creating a certificate.
KeyPair holds the raw bytes for a certificate and key.
Config contains the basic fields required for signing a certificate.
# Interfaces
No description provided by the author