First public contribution.
2 * Copyright (c) 1997-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 * TWTLSDecVector class implementation
32 //implementation of decoder for variable length vector
36 TWTLSDecVector(const TDesC8& aSource, TInt aMinLength, TInt aMaxLength);
39 // TPtrC8 Encoding() const;
40 TInt EncodingLength() const;
42 // TPtrC8 Content() const;
43 // TInt ContentLength() const;
45 // TInt HeaderLength() const;
47 const TPtrC8 iEncoding;
48 const TInt iMinLength;
49 const TInt iMaxLength;
50 TInt iLengthOfContents;
54 class TWTLSDecUnsignedInteger
57 TWTLSDecUnsignedInteger();
58 TInt DecodeShortL(const TDesC8& aSource,TInt& aPos, TInt aLengthOfLength);
59 RInteger DecodeLongL(const TDesC8& aSource,TInt& aPos, TInt aLength);
66 TTime DecodeL(const TDesC8& aSource, TInt& aPos);