Documentation ¶
Index ¶
- func Load(b []byte) (csr *x509.CertificateRequest, err error)
- func New(subj pkix.Name, SANs []string, rnd io.Reader) (*x509.CertificateRequest, *rsa.PrivateKey, error)
- func PEMEncode(csr *x509.CertificateRequest) []byte
- func Write(csr *x509.CertificateRequest, w io.Writer) error
- func WriteFile(csr *x509.CertificateRequest, out string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
func Load(b []byte) (csr *x509.CertificateRequest, err error)
Load CSR from PEM encoded bytes.
func New ¶
func New(subj pkix.Name, SANs []string, rnd io.Reader) (*x509.CertificateRequest, *rsa.PrivateKey, error)
New creates a new CSR
func PEMEncode ¶
func PEMEncode(csr *x509.CertificateRequest) []byte
PEMEncode returns the PEM encoded bytes for the CSR
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.