package
0.0.0-20230331131523-deb0478a2e52
Repository: https://github.com/hellobchain/third_party.git
Documentation: pkg.go.dev
# Functions
ExtractCertificateRequest extracts a CertificateRequest from x509.Certificate.
Generate creates a new CSR from a CertificateRequest structure and an existing key.
IsNameEmpty returns true if the name has no identifying information in it.
New returns a new, empty CertificateRequest with a BasicKeyRequest.
NewBasicKeyRequest returns a default BasicKeyRequest.
ParseRequest takes a certificate request and generates a key and CSR from it.
Regenerate uses the provided CSR as a template for signing a new CSR using priv.
# Structs
BasicConstraints CSR information RFC 5280, 4.2.1.9.
A BasicKeyRequest contains the algorithm and key size for a new private key.
CAConfig is a section used in the requests initialising a new CA.
A CertificateRequest encapsulates the API interface to the certificate request functionality.
A Generator is responsible for validating certificate requests.
A Name contains the SubjectInfo fields.
# Interfaces
A KeyRequest is a generic request for a new key.