Home » geronimo-2.2-source-release » org.apache.geronimo.crypto.asn1 » [javadoc | source]

    1   /**
    2    *  Licensed to the Apache Software Foundation (ASF) under one or more
    3    *  contributor license agreements.  See the NOTICE file distributed with
    4    *  this work for additional information regarding copyright ownership.
    5    *  The ASF licenses this file to You under the Apache License, Version 2.0
    6    *  (the "License"); you may not use this file except in compliance with
    7    *  the License.  You may obtain a copy of the License at
    8    *
    9    *     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    */
   17   
   18   package org.apache.geronimo.crypto.asn1;
   19   
   20   public interface DERTags
   21   {
   22       public static final int BOOLEAN             = 0x01;
   23       public static final int INTEGER             = 0x02;
   24       public static final int BIT_STRING          = 0x03;
   25       public static final int OCTET_STRING        = 0x04;
   26       public static final int NULL                = 0x05;
   27       public static final int OBJECT_IDENTIFIER   = 0x06;
   28       public static final int EXTERNAL            = 0x08;
   29       public static final int ENUMERATED          = 0x0a;
   30       public static final int SEQUENCE            = 0x10;
   31       public static final int SEQUENCE_OF         = 0x10; // for completeness
   32       public static final int SET                 = 0x11;
   33       public static final int SET_OF              = 0x11; // for completeness
   34   
   35   
   36       public static final int NUMERIC_STRING      = 0x12;
   37       public static final int PRINTABLE_STRING    = 0x13;
   38       public static final int T61_STRING          = 0x14;
   39       public static final int VIDEOTEX_STRING     = 0x15;
   40       public static final int IA5_STRING          = 0x16;
   41       public static final int UTC_TIME            = 0x17;
   42       public static final int GENERALIZED_TIME    = 0x18;
   43       public static final int GRAPHIC_STRING      = 0x19;
   44       public static final int VISIBLE_STRING      = 0x1a;
   45       public static final int GENERAL_STRING      = 0x1b;
   46       public static final int UNIVERSAL_STRING    = 0x1c;
   47       public static final int BMP_STRING          = 0x1e;
   48       public static final int UTF8_STRING         = 0x0c;
   49   
   50       public static final int CONSTRUCTED         = 0x20;
   51       public static final int APPLICATION         = 0x40;
   52       public static final int TAGGED              = 0x80;
   53   }

Home » geronimo-2.2-source-release » org.apache.geronimo.crypto.asn1 » [javadoc | source]