2 * Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
28 #if !defined(__ASN1CONS_H__)
29 #define __ASN1CONS_H__
33 const TInt KASN1ObjectMinLength = 2;
42 EApplicationSpecific=1,
51 typedef TUint TTagType; // This will limit us to dealing with tags up to 255, I have put in the infrastructure to deal with encoding longer lengths but we probably don't want to cart them around all the time.
65 EASN1ObjectIdentifier=6,
66 EASN1ObjectDescriptor=7,
73 EASN1NumericString=18,
74 EASN1PrintableString=19,
75 EASN1TeletexString=20,
76 EASN1VideotexString=21,
79 EASN1GeneralizedTime=24,
80 EASN1GraphicString=25,
81 EASN1VisibleString=26,
82 EASN1GeneralString=27,
83 EASN1UniversalString=28,