~brian-thomason/+junk/bouncycastle

« back to all changes in this revision

Viewing changes to src/org/bouncycastle/bcpg/PacketTags.java

  • Committer: Brian Thomason
  • Date: 2011-12-20 17:20:32 UTC
  • Revision ID: brian.thomason@canonical.com-20111220172032-rdtm13jgdxtksacr
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package org.bouncycastle.bcpg;
 
2
 
 
3
/**
 
4
 * Basic PGP packet tag types.
 
5
 */
 
6
public interface PacketTags 
 
7
{
 
8
      public static final int RESERVED =  0 ;                //  Reserved - a packet tag must not have this value
 
9
      public static final int PUBLIC_KEY_ENC_SESSION = 1;    // Public-Key Encrypted Session Key Packet
 
10
      public static final int SIGNATURE = 2;                 // Signature Packet
 
11
      public static final int SYMMETRIC_KEY_ENC_SESSION = 3; // Symmetric-Key Encrypted Session Key Packet
 
12
      public static final int ONE_PASS_SIGNATURE = 4 ;       // One-Pass Signature Packet
 
13
      public static final int SECRET_KEY = 5;                // Secret Key Packet
 
14
      public static final int PUBLIC_KEY = 6 ;               // Public Key Packet
 
15
      public static final int SECRET_SUBKEY = 7;             // Secret Subkey Packet
 
16
      public static final int COMPRESSED_DATA = 8;           // Compressed Data Packet
 
17
      public static final int SYMMETRIC_KEY_ENC = 9;         // Symmetrically Encrypted Data Packet
 
18
      public static final int MARKER = 10;                   // Marker Packet
 
19
      public static final int LITERAL_DATA = 11;             // Literal Data Packet
 
20
      public static final int TRUST = 12;                    // Trust Packet
 
21
      public static final int USER_ID = 13;                  // User ID Packet
 
22
      public static final int PUBLIC_SUBKEY = 14;            // Public Subkey Packet
 
23
      public static final int USER_ATTRIBUTE = 17;           // User attribute
 
24
      public static final int SYM_ENC_INTEGRITY_PRO = 18;    // Symmetric encrypted, integrity protected
 
25
      public static final int MOD_DETECTION_CODE = 19;       // Modification detection code
 
26
      
 
27
      public static final int EXPERIMENTAL_1 = 60;           // Private or Experimental Values
 
28
      public static final int EXPERIMENTAL_2 = 61;
 
29
      public static final int EXPERIMENTAL_3 = 62;
 
30
      public static final int EXPERIMENTAL_4 = 63;
 
31
}