go1.20.5
GoThrough

packet.BestCompression

const BestCompression = flate.BestCompression

packet.BestSpeed

const BestSpeed = flate.BestSpeed

packet.Cipher3DES

const Cipher3DES = 2

packet.CipherAES128

const CipherAES128 = 7

packet.CipherAES192

const CipherAES192 = 8

packet.CipherAES256

const CipherAES256 = 9

packet.CipherCAST5

const CipherCAST5 = 3

packet.CompressionNone

const CompressionNone = 0

packet.CompressionZIP

const CompressionZIP = 1

packet.CompressionZLIB

const CompressionZLIB = 2

packet.DefaultCompression

const DefaultCompression = flate.DefaultCompression

packet.KeyFlagCertify

// See RFC 4880, section 5.2.3.21 for details. const KeyFlagCertify = iota

packet.KeyFlagEncryptCommunications

const KeyFlagEncryptCommunications = iota

packet.KeyFlagEncryptStorage

const KeyFlagEncryptStorage = iota

packet.KeyFlagSign

const KeyFlagSign = iota

packet.NoCompression

const NoCompression = flate.NoCompression

packet.OCFBNoResync

const OCFBNoResync = false

packet.OCFBResync

const OCFBResync = true

packet.PubKeyAlgoDSA

const PubKeyAlgoDSA = 17

packet.PubKeyAlgoECDH

// RFC 6637, Section 5. const PubKeyAlgoECDH = 18

packet.PubKeyAlgoECDSA

const PubKeyAlgoECDSA = 19

packet.PubKeyAlgoElGamal

const PubKeyAlgoElGamal = 16

packet.PubKeyAlgoRSA

const PubKeyAlgoRSA = 1

packet.PubKeyAlgoRSAEncryptOnly

// Deprecated in RFC 4880, Section 13.5. Use key flags instead. const PubKeyAlgoRSAEncryptOnly = 2

packet.PubKeyAlgoRSASignOnly

const PubKeyAlgoRSASignOnly = 3

packet.SigTypeBinary

const SigTypeBinary = 0

packet.SigTypeCasualCert

const SigTypeCasualCert = 0x12

packet.SigTypeDirectSignature

const SigTypeDirectSignature = 0x1F

packet.SigTypeGenericCert

const SigTypeGenericCert = 0x10

packet.SigTypeKeyRevocation

const SigTypeKeyRevocation = 0x20

packet.SigTypePersonaCert

const SigTypePersonaCert = 0x11

packet.SigTypePositiveCert

const SigTypePositiveCert = 0x13