# Constant Field Values

## Contents

- org.bouncycastle.*

## org.bouncycastle.*

- org.bouncycastle.bcpg.ArmoredOutputStream
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final java.lang.String` | `VERSION_HDR` | `"Version"`

- org.bouncycastle.bcpg.CompressionAlgorithmTags
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `BZIP2` | `3`
  `public static final int` | `UNCOMPRESSED` | `0`
  `public static final int` | `ZIP` | `1`
  `public static final int` | `ZLIB` | `2`

- org.bouncycastle.bcpg.HashAlgorithmTags
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `DOUBLE_SHA` | `4`
  `public static final int` | `HAVAL_5_160` | `7`
  `public static final int` | `MD2` | `5`
  `public static final int` | `MD5` | `1`
  `public static final int` | `RIPEMD160` | `3`
  `public static final int` | `SHA1` | `2`
  `public static final int` | `SHA224` | `11`
  `public static final int` | `SHA256` | `8`
  `public static final int` | `SHA384` | `9`
  `public static final int` | `SHA512` | `10`
  `public static final int` | `TIGER_192` | `6`

- org.bouncycastle.bcpg.PacketTags
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `COMPRESSED_DATA` | `8`
  `public static final int` | `EXPERIMENTAL_1` | `60`
  `public static final int` | `EXPERIMENTAL_2` | `61`
  `public static final int` | `EXPERIMENTAL_3` | `62`
  `public static final int` | `EXPERIMENTAL_4` | `63`
  `public static final int` | `LITERAL_DATA` | `11`
  `public static final int` | `MARKER` | `10`
  `public static final int` | `MOD_DETECTION_CODE` | `19`
  `public static final int` | `ONE_PASS_SIGNATURE` | `4`
  `public static final int` | `PUBLIC_KEY` | `6`
  `public static final int` | `PUBLIC_KEY_ENC_SESSION` | `1`
  `public static final int` | `PUBLIC_SUBKEY` | `14`
  `public static final int` | `RESERVED` | `0`
  `public static final int` | `SECRET_KEY` | `5`
  `public static final int` | `SECRET_SUBKEY` | `7`
  `public static final int` | `SIGNATURE` | `2`
  `public static final int` | `SYM_ENC_INTEGRITY_PRO` | `18`
  `public static final int` | `SYMMETRIC_KEY_ENC` | `9`
  `public static final int` | `SYMMETRIC_KEY_ENC_SESSION` | `3`
  `public static final int` | `TRUST` | `12`
  `public static final int` | `USER_ATTRIBUTE` | `17`
  `public static final int` | `USER_ID` | `13`

- org.bouncycastle.bcpg.PublicKeyAlgorithmTags
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `DIFFIE_HELLMAN` | `21`
  `public static final int` | `DSA` | `17`
  `public static final int` | `EC` | `18`
  `public static final int` | `ECDH` | `18`
  `public static final int` | `ECDSA` | `19`
  `public static final int` | `EDDSA` | `22`
  `public static final int` | `ELGAMAL_ENCRYPT` | `16`
  `public static final int` | `ELGAMAL_GENERAL` | `20`
  `public static final int` | `EXPERIMENTAL_1` | `100`
  `public static final int` | `EXPERIMENTAL_10` | `109`
  `public static final int` | `EXPERIMENTAL_11` | `110`
  `public static final int` | `EXPERIMENTAL_2` | `101`
  `public static final int` | `EXPERIMENTAL_3` | `102`
  `public static final int` | `EXPERIMENTAL_4` | `103`
  `public static final int` | `EXPERIMENTAL_5` | `104`
  `public static final int` | `EXPERIMENTAL_6` | `105`
  `public static final int` | `EXPERIMENTAL_7` | `106`
  `public static final int` | `EXPERIMENTAL_8` | `107`
  `public static final int` | `EXPERIMENTAL_9` | `108`
  `public static final int` | `RSA_ENCRYPT` | `2`
  `public static final int` | `RSA_GENERAL` | `1`
  `public static final int` | `RSA_SIGN` | `3`

- org.bouncycastle.bcpg.S2K
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `GNU_DUMMY_S2K` | `101`
  `public static final int` | `GNU_PROTECTION_MODE_DIVERT_TO_CARD` | `2`
  `public static final int` | `GNU_PROTECTION_MODE_NO_PRIVATE_KEY` | `1`
  `public static final int` | `SALTED` | `1`
  `public static final int` | `SALTED_AND_ITERATED` | `3`
  `public static final int` | `SIMPLE` | `0`

- org.bouncycastle.bcpg.SecretKeyPacket
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `USAGE_CHECKSUM` | `255`
  `public static final int` | `USAGE_NONE` | `0`
  `public static final int` | `USAGE_SHA1` | `254`

- org.bouncycastle.bcpg.SignatureSubpacketTags
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `ATTESTED_CERTIFICATIONS` | `37`
  `public static final int` | `CREATION_TIME` | `2`
  `public static final int` | `EMBEDDED_SIGNATURE` | `32`
  `public static final int` | `EXPIRE_TIME` | `3`
  `public static final int` | `EXPORTABLE` | `4`
  `public static final int` | `FEATURES` | `30`
  `public static final int` | `INTENDED_RECIPIENT_FINGERPRINT` | `35`
  `public static final int` | `ISSUER_FINGERPRINT` | `33`
  `public static final int` | `ISSUER_KEY_ID` | `16`
  `public static final int` | `KEY_EXPIRE_TIME` | `9`
  `public static final int` | `KEY_FLAGS` | `27`
  `public static final int` | `KEY_SERVER_PREFS` | `23`
  `public static final int` | `NOTATION_DATA` | `20`
  `public static final int` | `PLACEHOLDER` | `10`
  `public static final int` | `POLICY_URL` | `26`
  `public static final int` | `PREFERRED_AEAD_ALGORITHMS` | `34`
  `public static final int` | `PREFERRED_COMP_ALGS` | `22`
  `public static final int` | `PREFERRED_HASH_ALGS` | `21`
  `public static final int` | `PREFERRED_KEY_SERV` | `24`
  `public static final int` | `PREFERRED_SYM_ALGS` | `11`
  `public static final int` | `PRIMARY_USER_ID` | `25`
  `public static final int` | `REG_EXP` | `6`
  `public static final int` | `REVOCABLE` | `7`
  `public static final int` | `REVOCATION_KEY` | `12`
  `public static final int` | `REVOCATION_REASON` | `29`
  `public static final int` | `SIGNATURE_TARGET` | `31`
  `public static final int` | `SIGNER_USER_ID` | `28`
  `public static final int` | `TRUST_SIG` | `5`

- org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `AES_128` | `7`
  `public static final int` | `AES_192` | `8`
  `public static final int` | `AES_256` | `9`
  `public static final int` | `BLOWFISH` | `4`
  `public static final int` | `CAMELLIA_128` | `11`
  `public static final int` | `CAMELLIA_192` | `12`
  `public static final int` | `CAMELLIA_256` | `13`
  `public static final int` | `CAST5` | `3`
  `public static final int` | `DES` | `6`
  `public static final int` | `IDEA` | `1`
  `public static final int` | `NULL` | `0`
  `public static final int` | `SAFER` | `5`
  `public static final int` | `TRIPLE_DES` | `2`
  `public static final int` | `TWOFISH` | `10`

- org.bouncycastle.bcpg.UserAttributeSubpacketTags
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `IMAGE_ATTRIBUTE` | `1`

- org.bouncycastle.bcpg.attr.ImageAttribute
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `JPEG` | `1`

- org.bouncycastle.bcpg.sig.Features
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final byte` | `FEATURE_MODIFICATION_DETECTION` | `1`

- org.bouncycastle.bcpg.sig.KeyFlags
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `AUTHENTICATION` | `32`
  `public static final int` | `CERTIFY_OTHER` | `1`
  `public static final int` | `ENCRYPT_COMMS` | `4`
  `public static final int` | `ENCRYPT_STORAGE` | `8`
  `public static final int` | `SHARED` | `128`
  `public static final int` | `SIGN_DATA` | `2`
  `public static final int` | `SPLIT` | `16`

- org.bouncycastle.bcpg.sig.NotationData
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `HEADER_FLAG_LENGTH` | `4`
  `public static final int` | `HEADER_NAME_LENGTH` | `2`
  `public static final int` | `HEADER_VALUE_LENGTH` | `2`

- org.bouncycastle.bcpg.sig.RevocationKeyTags
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final byte` | `CLASS_DEFAULT` | `-128`
  `public static final byte` | `CLASS_SENSITIVE` | `64`

- org.bouncycastle.bcpg.sig.RevocationReasonTags
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final byte` | `KEY_COMPROMISED` | `2`
  `public static final byte` | `KEY_RETIRED` | `3`
  `public static final byte` | `KEY_SUPERSEDED` | `1`
  `public static final byte` | `NO_REASON` | `0`
  `public static final byte` | `USER_NO_LONGER_VALID` | `32`

- org.bouncycastle.openpgp.PGPEncryptedDataGenerator
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `S2K_SHA1` | `2`
  `public static final int` | `S2K_SHA224` | `11`
  `public static final int` | `S2K_SHA256` | `8`
  `public static final int` | `S2K_SHA384` | `9`
  `public static final int` | `S2K_SHA512` | `10`

- org.bouncycastle.openpgp.PGPKeyFlags
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `CAN_AUTHENTICATE` | `32`
  `public static final int` | `CAN_CERTIFY` | `1`
  `public static final int` | `CAN_ENCRYPT_COMMS` | `4`
  `public static final int` | `CAN_ENCRYPT_STORAGE` | `8`
  `public static final int` | `CAN_SIGN` | `2`
  `public static final int` | `MAYBE_SHARED` | `128`
  `public static final int` | `MAYBE_SPLIT` | `16`

- org.bouncycastle.openpgp.PGPLiteralData
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final char` | `BINARY` | `98`
  `public static final java.lang.String` | `CONSOLE` | `"_CONSOLE"`
  `public static final char` | `TEXT` | `116`
  `public static final char` | `UTF8` | `117`

- org.bouncycastle.openpgp.PGPLiteralDataGenerator
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final char` | `BINARY` | `98`
  `public static final java.lang.String` | `CONSOLE` | `"_CONSOLE"`
  `public static final char` | `TEXT` | `116`
  `public static final char` | `UTF8` | `117`

- org.bouncycastle.openpgp.PGPSignature
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `BINARY_DOCUMENT` | `0`
  `public static final int` | `CANONICAL_TEXT_DOCUMENT` | `1`
  `public static final int` | `CASUAL_CERTIFICATION` | `18`
  `public static final int` | `CERTIFICATION_REVOCATION` | `48`
  `public static final int` | `DEFAULT_CERTIFICATION` | `16`
  `public static final int` | `DIRECT_KEY` | `31`
  `public static final int` | `KEY_REVOCATION` | `32`
  `public static final int` | `NO_CERTIFICATION` | `17`
  `public static final int` | `POSITIVE_CERTIFICATION` | `19`
  `public static final int` | `PRIMARYKEY_BINDING` | `25`
  `public static final int` | `STAND_ALONE` | `2`
  `public static final int` | `SUBKEY_BINDING` | `24`
  `public static final int` | `SUBKEY_REVOCATION` | `40`
  `public static final int` | `TIMESTAMP` | `64`

- org.bouncycastle.openpgp.operator.PublicKeyKeyEncryptionMethodGenerator
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final java.lang.String` | `SESSION_KEY_OBFUSCATION_PROPERTY` | `"org.bouncycastle.openpgp.session_key_obfuscation"`