File: armor.go

package info (click to toggle)
golang-github-protonmail-gopenpgp-v3 3.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,028 kB
  • sloc: sh: 87; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 733 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Package constants provides a set of common OpenPGP constants.
package constants

// Constants for armored data.
const (
	// ArmorChecksumEnabled defines the default behavior for adding an armor checksum
	// to an armored message.
	//
	// If set to true, an armor checksum is added to the message.
	//
	// If set to false, no armor checksum is added.
	ArmorChecksumEnabled = true
	ArmorHeaderEnabled   = false // can be enabled for debugging at compile time only
	ArmorHeaderVersion   = "GopenPGP " + Version
	ArmorHeaderComment   = "https://gopenpgp.org"
	PGPMessageHeader     = "PGP MESSAGE"
	PGPSignatureHeader   = "PGP SIGNATURE"
	PublicKeyHeader      = "PGP PUBLIC KEY BLOCK"
	PrivateKeyHeader     = "PGP PRIVATE KEY BLOCK"
)