Documentation ¶
Overview ¶
package csr contains helper functions related to certificate signing requests
package csr contains helper functions related to certificate signing requests
Index ¶
- func CreateCSR(validTime time.Duration, cn, idCn string) (*protos.CSR, error)
- func CreateCSRForId(validTime time.Duration, id *protos.Identity) (*protos.CSR, error)
- func CreateSignedCertAndPrivKey(validTime time.Duration) (*x509.Certificate, interface{}, error)
- func ReadCSR(csrFile string) (*x509.CertificateRequest, error)
- func WriteCSR(csr []byte, csrFile string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCSRForId ¶
func CreateSignedCertAndPrivKey ¶
func CreateSignedCertAndPrivKey(validTime time.Duration) (*x509.Certificate, interface{}, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.