001    /**
002     *  Licensed to the Apache Software Foundation (ASF) under one or more
003     *  contributor license agreements.  See the NOTICE file distributed with
004     *  this work for additional information regarding copyright ownership.
005     *  The ASF licenses this file to You under the Apache License, Version 2.0
006     *  (the "License"); you may not use this file except in compliance with
007     *  the License.  You may obtain a copy of the License at
008     *
009     *     http://www.apache.org/licenses/LICENSE-2.0
010     *
011     *  Unless required by applicable law or agreed to in writing, software
012     *  distributed under the License is distributed on an "AS IS" BASIS,
013     *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014     *  See the License for the specific language governing permissions and
015     *  limitations under the License.
016     */
017    
018    package org.apache.geronimo.util.asn1;
019    
020    public interface DERTags
021    {
022        public static final int BOOLEAN             = 0x01;
023        public static final int INTEGER             = 0x02;
024        public static final int BIT_STRING          = 0x03;
025        public static final int OCTET_STRING        = 0x04;
026        public static final int NULL                = 0x05;
027        public static final int OBJECT_IDENTIFIER   = 0x06;
028        public static final int EXTERNAL            = 0x08;
029        public static final int ENUMERATED          = 0x0a;
030        public static final int SEQUENCE            = 0x10;
031        public static final int SEQUENCE_OF         = 0x10; // for completeness
032        public static final int SET                 = 0x11;
033        public static final int SET_OF              = 0x11; // for completeness
034    
035    
036        public static final int NUMERIC_STRING      = 0x12;
037        public static final int PRINTABLE_STRING    = 0x13;
038        public static final int T61_STRING          = 0x14;
039        public static final int VIDEOTEX_STRING     = 0x15;
040        public static final int IA5_STRING          = 0x16;
041        public static final int UTC_TIME            = 0x17;
042        public static final int GENERALIZED_TIME    = 0x18;
043        public static final int GRAPHIC_STRING      = 0x19;
044        public static final int VISIBLE_STRING      = 0x1a;
045        public static final int GENERAL_STRING      = 0x1b;
046        public static final int UNIVERSAL_STRING    = 0x1c;
047        public static final int BMP_STRING          = 0x1e;
048        public static final int UTF8_STRING         = 0x0c;
049    
050        public static final int CONSTRUCTED         = 0x20;
051        public static final int APPLICATION         = 0x40;
052        public static final int TAGGED              = 0x80;
053    }