<?php
/*
 * Copyright 2008-2010 GuardTime AS
 *
 * This file is part of the GuardTime PHP SDK.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/**
 * @package asn1
 */

/**
 * ASN.1 Boolean tag
 * @see ASN1Boolean
 */
define('ASN1_TAG_BOOLEAN',          0x01);

/**
 * ASN.1 Integer tag
 * @see ASN1Integer
 */
define('ASN1_TAG_INTEGER',          0x02);

/**
 * ASN.1 BitString tag
 * @see ASN1BitString
 */
define('ASN1_TAG_BIT_STRING',       0x03);

/**
 * ASN.1 OctetString tag
 * @see ASN1OctetString
 */
define('ASN1_TAG_OCTET_STRING',     0x04);

/**
 * ASN.1 Null tag
 * @see ASN1Null
 */
define('ASN1_TAG_NULL',             0x05);

/**
 * ASN.1 Object Id tag
 * @see ASN1ObjectId
 */
define('ASN1_TAG_OBJECT_ID',        0x06);

/**
 * ASN.1 External tag, not implemented
 */
define('ASN1_TAG_EXTERNAL',         0x08);

/**
 * ASN.1 Enumerated tag, not implemented
 */
define('ASN1_TAG_ENUMERATED',       0x0a);

/**
 * ASN.1 Sequence tag
 * @see ASN1Sequence
 */
define('ASN1_TAG_SEQUENCE',         0x10);

/**
 * ASN.1 Sequence Of tag
 * @see ASN1Sequence
 */
define('ASN1_TAG_SEQUENCE_OF',      0x10);

/**
 * ASN.1 Set tag
 * @see ASN1Set
 */
define('ASN1_TAG_SET',              0x11);

/**
 * ASN.1 Set Of tag
 * @see ASN1Set
 */
define('ASN1_TAG_SET_OF',           0x11);

/**
 * ASN/1 NumericString tag, not implemented
 */
define('ASN1_TAG_NUMERIC_STRING',   0x12);

/**
 * ASN.1 PrintableString tag
 * @see ASN1PrintableString
 */
define('ASN1_TAG_PRINTABLE_STRING', 0x13);

/**
 * ASN.1 T61String tag
 * @see ASN1T61String
 */
define('ASN1_TAG_T61_STRING',       0x14);

/**
 * ASN.1 VideoTextString tag, not implemented
 */
define('ASN1_TAG_VIDEOTEXT_STRING', 0x15);

/**
 * ASN.1 IA5String tag
 * @see ASN1IA5String
 */
define('ASN1_TAG_IA5_STRING',       0x16);

/**
 * ASN.1 UTCTime tag
 * @see ASN1UTCTime
 */
define('ASN1_TAG_UTC_TIME',         0x17);

/**
 * ASN.1 GeneralizedTime tag
 * @see ASN1GeneralizedTime
 */
define('ASN1_TAG_GENERALIZED_TIME', 0x18);

/**
 * ASN.1 GraphicString tag, not implemented
 */
define('ASN1_TAG_GRAPHIC_STRING',   0x19);

/**
 * ASN.1 VisibleString tag, not implemented
 */
define('ASN1_TAG_VISIBLE_STRING',   0x1a);

/**
 * ASN.1 GeneralString tag, not implemented
 */
define('ASN1_TAG_GENERAL_STRING',   0x1b);

/**
 * ASN.1 UniversalString tag, not implemented
 */
define('ASN1_TAG_UNIVERSAL_STRING', 0x1c);

/**
 * ASN.1 BMPString tag
 * @see ASN1BMPString
 */
define('ASN1_TAG_BMP_STRING',       0x1e);

/**
 * ASN.1 UTF8String tag
 * @see ASN1UTF8String
 */
define('ASN1_TAG_UTF8_STRING',      0x0c);

/**
 * ASN.1 universal tag class
 */
define('ASN1_TAG_UNIVERSAL',        'UNIVERSAL');

/**
 * ASN.1 application specific tag class
 */
define('ASN1_TAG_APPLICATION',      'APPLICATION');

/**
 * ASN.1 context specific tag class
 */
define('ASN1_TAG_CONTEXT',          'CONTEXT');

/**
 * ASN.1 private tag class
 */
define('ASN1_TAG_PRIVATE',          'PRIVATE');

/**
 * ASN.1 tag type constructed
 */
define('ASN1_TAG_CONSTRUCTED',      'CONS');

/**
 * ASN.1 tag type primitive
 */
define('ASN1_TAG_PRIMITIVE',        'PRIM');

?>
