Versions in this module Expand all Collapse all v4 v4.9.11 Feb 21, 2023 Changes in this version + const EC256 + const EC384 + const OCSPGood + const OCSPRevoked + const OCSPServerFailed + const OCSPUnknown + const RSA2048 + const RSA4096 + const RSA8192 + func ExtractDomains(cert *x509.Certificate) []string + func ExtractDomainsCSR(csr *x509.CertificateRequest) []string + func GenerateCSR(privateKey crypto.PrivateKey, domain string, san []string, mustStaple bool) ([]byte, error) + func GeneratePemCert(privateKey *rsa.PrivateKey, domain string, extensions []pkix.Extension) ([]byte, error) + func GeneratePrivateKey(keyType KeyType) (crypto.PrivateKey, error) + func PEMBlock(data interface{}) *pem.Block + func PEMEncode(data interface{}) []byte + func ParsePEMBundle(bundle []byte) ([]*x509.Certificate, error) + func ParsePEMCertificate(cert []byte) (*x509.Certificate, error) + func ParsePEMPrivateKey(key []byte) (crypto.PrivateKey, error) + func PemDecodeTox509CSR(data []byte) (*x509.CertificateRequest, error) + type DERCertificateBytes []byte + type KeyType string Other modules containing this package github.com/reinismu/lego