Documentation ¶
Index ¶
- func CSRToPEMReader(der []byte) (io.ReadCloser, error)
- func CertificateFromPemData(data []byte) (*x509.Certificate, error)
- func CertificateRequestFromPemData(data []byte) (*x509.CertificateRequest, error)
- func CertificateRequestFromPemDataRaw(data []byte) (*x509.CertificateRequest, []byte, error)
- func LoadECPrivateKey(filename string) (*ecdsa.PrivateKey, error)
- func WriteCertificateChain(filename string, der [][]byte) error
- func WriteECPrivateKey(filename string, key *ecdsa.PrivateKey) error
- func WriteRSAPrivateKey(filename string, key *rsa.PrivateKey) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CSRToPEMReader ¶
func CSRToPEMReader(der []byte) (io.ReadCloser, error)
func CertificateFromPemData ¶
func CertificateFromPemData(data []byte) (*x509.Certificate, error)
func CertificateRequestFromPemData ¶
func CertificateRequestFromPemData(data []byte) (*x509.CertificateRequest, error)
func CertificateRequestFromPemDataRaw ¶
func CertificateRequestFromPemDataRaw(data []byte) (*x509.CertificateRequest, []byte, error)
func LoadECPrivateKey ¶
func LoadECPrivateKey(filename string) (*ecdsa.PrivateKey, error)
func WriteCertificateChain ¶
func WriteECPrivateKey ¶
func WriteECPrivateKey(filename string, key *ecdsa.PrivateKey) error
func WriteRSAPrivateKey ¶
func WriteRSAPrivateKey(filename string, key *rsa.PrivateKey) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.