Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodePrivateKey ¶
func DecodePrivateKey(privateKeyBase64Str string) (*ecdsa.PrivateKey, error)
DecodePrivateKey pulls the private key out of the string passed by first decoding from base64 and parsing the PEM encoding.
func DecodePublicKey ¶
DecodePublicKey pulls the public key out of the string passed by first decoding from base64 and parsing the PEM encoding.
Types ¶
Click to show internal directories.
Click to hide internal directories.