Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidPEMFormat = errors.New("crypto/x509z: invalid pem format") ErrKeyTypeMismatch = errors.New("crypto/x509z: key type mismatch") )
Functions ¶
func ParseECDSAPrivateKeyPEM ¶
func ParseECDSAPrivateKeyPEM(pemBytes []byte) (*ecdsa.PrivateKey, error)
func ParseECDSAPublicKeyPEM ¶
func ParseRSAPrivateKeyPEM ¶
func ParseRSAPrivateKeyPEM(pemBytes []byte) (*rsa.PrivateKey, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.