Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parse ¶
func Parse(b []byte) (key *rsa.PrivateKey, certs []*x509.Certificate, err error)
func ParseFirstCertificate ¶
func ParseFirstCertificate(b []byte) (*x509.Certificate, error)
func ParseFirstPrivateKey ¶
func ParseFirstPrivateKey(b []byte) (*rsa.PrivateKey, error)
Types ¶
type Encodable ¶
type Encodable interface { *x509.Certificate | *x509.CertificateRequest | *rsa.PublicKey | *rsa.PrivateKey }
Click to show internal directories.
Click to hide internal directories.