Documentation ¶
Index ¶
- func Decrypt(message, inputPublicKey, inputPrivateKey []byte) ([]byte, error)
- func Encrypt(input, pubkey []byte) ([]byte, error)
- func GenerateKeypair() (publicKey, privateKey []byte)
- func KeysFromCertKey(cerKey []byte, key *rsa.PrivateKey) ([]byte, []byte, []byte, error)
- func LoadCertificate(name, loc string) ([]byte, error)
- func LoadKeysFromCertKey(certFolder, name string) ([]byte, []byte, []byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateKeypair ¶
func GenerateKeypair() (publicKey, privateKey []byte)
func KeysFromCertKey ¶
func LoadCertificate ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.