Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodePrivateKey ¶
func DecodePrivateKey(key []byte) (*ecdsa.PrivateKey, error)
Returns the private key from a given PEM-Encoded byte slice representation of the private key
func EncodePrivateKey ¶
func EncodePrivateKey(key *ecdsa.PrivateKey) ([]byte, error)
Returns the PEM-Encoded byte slice from a given private key
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.