File: signature.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 (18 lines) | stat: -rw-r--r-- 621 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package constants

// OpenPGP signature types.
// int8 type for go-mobile clients.
const (
	SigTypeBinary                  int8 = 0x00
	SigTypeText                    int8 = 0x01
	SigTypeGenericCert             int8 = 0x10
	SigTypePersonaCert             int8 = 0x11
	SigTypeCasualCert              int8 = 0x12
	SigTypePositiveCert            int8 = 0x13
	SigTypeSubkeyBinding           int8 = 0x18
	SigTypePrimaryKeyBinding       int8 = 0x19
	SigTypeDirectSignature         int8 = 0x1F
	SigTypeKeyRevocation           int8 = 0x20
	SigTypeSubkeyRevocation        int8 = 0x28
	SigTypeCertificationRevocation int8 = 0x30
)