Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodePEMPrivateKey ¶
func EncodePEMPrivateKey(privKey crypto.PrivateKey) ([]byte, error)
Encode Private Key to PKCS1 format embedded in a PEM Block
func EncodePEMPublicKey ¶
Encode Public Key to PKIX format embedded in a PEM Block
func GenerateKeyPair ¶
Generates rsa key pairs
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.