• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package org.bouncycastle.asn1;
2 
3 public interface BERTags
4 {
5     public static final int BOOLEAN             = 0x01;
6     public static final int INTEGER             = 0x02;
7     public static final int BIT_STRING          = 0x03;
8     public static final int OCTET_STRING        = 0x04;
9     public static final int NULL                = 0x05;
10     public static final int OBJECT_IDENTIFIER   = 0x06;
11     public static final int EXTERNAL            = 0x08;
12     public static final int ENUMERATED          = 0x0a;
13     public static final int SEQUENCE            = 0x10;
14     public static final int SEQUENCE_OF         = 0x10; // for completeness - used to model a SEQUENCE of the same type.
15     public static final int SET                 = 0x11;
16     public static final int SET_OF              = 0x11; // for completeness - used to model a SET of the same type.
17 
18 
19     public static final int NUMERIC_STRING      = 0x12;
20     public static final int PRINTABLE_STRING    = 0x13;
21     public static final int T61_STRING          = 0x14;
22     public static final int VIDEOTEX_STRING     = 0x15;
23     public static final int IA5_STRING          = 0x16;
24     public static final int UTC_TIME            = 0x17;
25     public static final int GENERALIZED_TIME    = 0x18;
26     public static final int GRAPHIC_STRING      = 0x19;
27     public static final int VISIBLE_STRING      = 0x1a;
28     public static final int GENERAL_STRING      = 0x1b;
29     public static final int UNIVERSAL_STRING    = 0x1c;
30     public static final int BMP_STRING          = 0x1e;
31     public static final int UTF8_STRING         = 0x0c;
32 
33     public static final int CONSTRUCTED         = 0x20;
34     public static final int APPLICATION         = 0x40;
35     public static final int TAGGED              = 0x80;
36 }
37