01: /**
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */package org.apache.geronimo.crypto.asn1;
17:
18: public interface DERTags {
19: public static final int BOOLEAN = 0x01;
20: public static final int INTEGER = 0x02;
21: public static final int BIT_STRING = 0x03;
22: public static final int OCTET_STRING = 0x04;
23: public static final int NULL = 0x05;
24: public static final int OBJECT_IDENTIFIER = 0x06;
25: public static final int EXTERNAL = 0x08;
26: public static final int ENUMERATED = 0x0a;
27: public static final int SEQUENCE = 0x10;
28: public static final int SEQUENCE_OF = 0x10; // for completeness
29: public static final int SET = 0x11;
30: public static final int SET_OF = 0x11; // for completeness
31:
32: public static final int NUMERIC_STRING = 0x12;
33: public static final int PRINTABLE_STRING = 0x13;
34: public static final int T61_STRING = 0x14;
35: public static final int VIDEOTEX_STRING = 0x15;
36: public static final int IA5_STRING = 0x16;
37: public static final int UTC_TIME = 0x17;
38: public static final int GENERALIZED_TIME = 0x18;
39: public static final int GRAPHIC_STRING = 0x19;
40: public static final int VISIBLE_STRING = 0x1a;
41: public static final int GENERAL_STRING = 0x1b;
42: public static final int UNIVERSAL_STRING = 0x1c;
43: public static final int BMP_STRING = 0x1e;
44: public static final int UTF8_STRING = 0x0c;
45:
46: public static final int CONSTRUCTED = 0x20;
47: public static final int APPLICATION = 0x40;
48: public static final int TAGGED = 0x80;
49: }
|