Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsEncrypted ¶
func IsEncrypted(bs *models.BodyStructure) bool
Types ¶
type Provider ¶
type Provider interface { Decrypt(io.Reader, openpgp.PromptFunction) (*models.MessageDetails, error) Encrypt(*bytes.Buffer, []string, string, openpgp.PromptFunction, *mail.Header) (io.WriteCloser, error) Sign(*bytes.Buffer, string, openpgp.PromptFunction, *mail.Header) (io.WriteCloser, error) ImportKeys(io.Reader) error Init() error Close() GetSignerKeyId(string) (string, error) GetKeyId(string) (string, error) ExportKey(string) (io.Reader, error) }
Click to show internal directories.
Click to hide internal directories.