Documentation ¶
Overview ¶
Package pem contains functions for marshaling and unmarshaling keys in PEM format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromProto ¶
FromProto builds a crypto.Signer from a proto.Message, which must be of type PEMKeyFile.
func ReadPrivateKeyFile ¶
ReadPrivateKeyFile reads a PEM-encoded private key from a file. The key must be protected by a password.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.