Documentation ¶
Overview ¶
Package armor contains a set of helper methods for armoring and unarmoring data.
Index ¶
- func ArmorKey(input []byte) (string, error)
- func ArmorWithType(input []byte, armorType string) (string, error)
- func ArmorWithTypeBuffered(w io.Writer, armorType string) (io.WriteCloser, error)
- func ReadClearSignedMessage(signedMessage string) (string, error)
- func Unarmor(input string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArmorWithType ¶
ArmorWithType armors input with the given armorType.
func ArmorWithTypeBuffered ¶
ArmorWithTypeBuffered returns a io.WriteCloser which, when written to, writes armored data to w with the given armorType.
func ReadClearSignedMessage ¶
ReadClearSignedMessage returns the message body from a clearsigned message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.