/******************************************************************************* * Copyright (C) 2010 Marco Sandrini * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public * License along with this program. * If not, see <http://www.gnu.org/licenses/>. ******************************************************************************/ package org.casbah.der; public interface Asn1Constants { public static final int TAG_EOC = 0; public static final int TAG_BOOLEAN = 1; public static final int TAG_INTEGER = 2; public static final int TAG_BITSTRING = 3; public static final int TAG_OCTETSTRING = 4; public static final int TAG_OID = 6; public static final int TAG_REAL = 9; public static final int TAG_ENUMERATED = 10; public static final int TAG_UTF8STRING = 12; public static final int TAG_SEQUENCE = 16; public static final int TAG_SET = 17; public static final int TAG_NUMERICSTRING = 18; public static final int TAG_PRINTABLESTRING = 19; public static final int TAG_T61STRING = 20; public static final int TAG_VIDEOTEXTSTRING = 21; public static final int TAG_IA5STRING = 22; public static final int TAG_UTCTIME = 23; public static final int TAG_GENERALIZEDTIME = 24; public static final int TAG_GRAPHICSTRING = 25; public static final int TAG_VISIBLESTRING = 26; public static final int TAG_GENERALSTRING = 27; public static final int TAG_UNIVERSALSTRING = 28; public static final int TAG_BMPSTRING = 30; }