Documentation ¶
Index ¶
- func Decrypt(cipherArmored []byte, keys openpgp.EntityList) ([]byte, error)
- func DecryptAndVerify(cipherArmored []byte, keys openpgp.EntityList) ([]byte, error)
- func Encrypt(msg []byte, pubkeys openpgp.EntityList) ([]byte, error)
- func MakeKeyring(decryptedPrivkey openpgp.EntityList, pubkeyArmored []byte) (openpgp.EntityList, error)
- func ReadArmoredKey(armoredKey []byte) (openpgp.EntityList, error)
- func ReadPrivkey(encryptedPrivkeyArmored, pw []byte) (openpgp.EntityList, error)
- func VerifyPubkeyArmoredSignature(signedPubkeyArmored, signerPubkeyArmored []byte) error
- func VerifyPubkeySignature(signedPubkey, signerPubkey openpgp.EntityList) error
- func VerifyPubkeyWithPrivkey(pubkey, decryptedPrivkey openpgp.EntityList) error
- func VerifySignedCleartext(message []byte, keys openpgp.EntityList) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptAndVerify ¶
func DecryptAndVerify(cipherArmored []byte, keys openpgp.EntityList) ([]byte, error)
func MakeKeyring ¶
func MakeKeyring(decryptedPrivkey openpgp.EntityList, pubkeyArmored []byte) (openpgp.EntityList, error)
func ReadArmoredKey ¶
func ReadArmoredKey(armoredKey []byte) (openpgp.EntityList, error)
func ReadPrivkey ¶
func ReadPrivkey(encryptedPrivkeyArmored, pw []byte) (openpgp.EntityList, error)
func VerifyPubkeySignature ¶
func VerifyPubkeySignature(signedPubkey, signerPubkey openpgp.EntityList) error
func VerifyPubkeyWithPrivkey ¶
func VerifyPubkeyWithPrivkey(pubkey, decryptedPrivkey openpgp.EntityList) error
func VerifySignedCleartext ¶
func VerifySignedCleartext(message []byte, keys openpgp.EntityList) ([]byte, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.