First public contribution.
2 * Copyright (c) 2001-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.
15 * Declare TASN1EncBase128DER class.
16 * Declare TASN1EncBase128DER class. This encodes a given integer base 128,
17 * most significant digits first, with the top bit set 1 on every
18 * octet except the last.
19 * The DER encoding of numbers in base 128 is common both the the encoding
20 * of the tag number in high-tag-number form, and to the DER encoding of OID terms,
21 * hence this class to encapsulate this commonality.
33 class TASN1EncBase128DER
36 TASN1EncBase128DER(TUint aInt);
38 TUint LengthDER() const;
39 void WriteDERL(TDes8& aBuf, TUint& aPos) const;
42 void CalculateLengthDER();