Date: 2016-06-23

# Constant Field Values

## Contents

- org.bouncycastle.*

## org.bouncycastle.*

- org.bouncycastle.apache.bzip2.BZip2Constants
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `baseBlockSize` | `100000`
  `public static final int` | `G_SIZE` | `50`
  `public static final int` | `MAX_ALPHA_SIZE` | `258`
  `public static final int` | `MAX_CODE_LEN` | `23`
  `public static final int` | `MAX_SELECTORS` | `18002`
  `public static final int` | `N_GROUPS` | `6`
  `public static final int` | `N_ITERS` | `4`
  `public static final int` | `NUM_OVERSHOOT_BYTES` | `20`
  `public static final int` | `RUNA` | `0`
  `public static final int` | `RUNB` | `1`

- org.bouncycastle.apache.bzip2.CBZip2OutputStream
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `protected static final int` | `CLEARMASK` | `-2097153`
  `protected static final int` | `DEPTH_THRESH` | `10`
  `protected static final int` | `GREATER_ICOST` | `15`
  `protected static final int` | `LESSER_ICOST` | `0`
  `protected static final int` | `QSORT_STACK_SIZE` | `1000`
  `protected static final int` | `SETMASK` | `2097152`
  `protected static final int` | `SMALL_THRESH` | `20`

- 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` | `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` | `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` | `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_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`