d579059ccf
* Replace NewEncrypter with Encrypt. * Add Sign * Remove {Encode,Decode}ArmoredMessage Fixes #1
15 lines
282 B
Go
15 lines
282 B
Go
// pgpmime implements MIME security with OpenPGP, as defined in RFC 3156.
|
|
package pgpmime
|
|
|
|
import (
|
|
"io"
|
|
)
|
|
|
|
// Writer writes a PGP/MIME message body.
|
|
type Writer interface {
|
|
io.WriteCloser
|
|
|
|
// ContentType returns the content type of the PGP/MIME message.
|
|
ContentType() string
|
|
}
|