First public contribution.
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.
15 * TASN1DecX500DirectoryString class implementation
32 class TASN1DecX500DirectoryString
36 TASN1DecX500DirectoryString();
37 HBufC* DecodeDERL(const TDesC8& aSource,TInt& aPos, TInt aMaxLength = KMaxTInt);
38 HBufC* DecodeDERL(const TASN1DecGeneric& aSource, TInt aMaxLength = KMaxTInt);
39 TInt EncodeDER(TDes8& aDestination,TInt& aPos);
40 TInt LengthDERContent(void) const;
41 void SetMaxLength(TInt aLength);
43 HBufC* DecodeContentsL(const TASN1DecGeneric& aSource, TInt aMaxLength);