Documentation
¶
Index ¶
- Variables
- func AppendEntity(pub, priv []byte) error
- func Decrypt(encrypted []byte) ([]byte, error)
- func DecryptText(tag string, encrypted []byte) ([]byte, error)
- func DecryptTextWithEntities(tag string, encrypted []byte, entities openpgp.EntityList) ([]byte, error)
- func DecryptWithEntities(encrypted []byte, entities openpgp.EntityList) ([]byte, error)
- func Encrypt(message []byte) ([]byte, error)
- func EncryptText(tag string, message []byte) ([]byte, error)
- func EncryptTextWithEntities(tag string, message []byte, entities openpgp.EntityList) ([]byte, error)
- func EncryptWithEntities(message []byte, entities openpgp.EntityList) ([]byte, error)
- func GetEntities(pub, priv []byte) (openpgp.EntityList, error)
- func Register(pub, priv []byte) (err error)
- type KeyPair
Constants ¶
This section is empty.
Variables ¶
View Source
var EntityList openpgp.EntityList
Functions ¶
func AppendEntity ¶
func DecryptTextWithEntities ¶
func DecryptWithEntities ¶
func DecryptWithEntities(encrypted []byte, entities openpgp.EntityList) ([]byte, error)
func EncryptTextWithEntities ¶
func EncryptWithEntities ¶
func EncryptWithEntities(message []byte, entities openpgp.EntityList) ([]byte, error)
func GetEntities ¶
func GetEntities(pub, priv []byte) (openpgp.EntityList, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.