Update contrib.
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 * Implementation for DER encoding of NULLs
22 EXPORT_C CASN1EncNull* CASN1EncNull::NewLC()
24 CASN1EncNull* self = new (ELeave) CASN1EncNull;
25 CleanupStack::PushL(self);
30 EXPORT_C CASN1EncNull* CASN1EncNull::NewL()
32 CASN1EncNull* self = NewLC();
33 CleanupStack::Pop(self);
37 CASN1EncNull::CASN1EncNull()
38 : CASN1EncPrimitive(EASN1Null)
43 void CASN1EncNull::CalculateContentsLengthDER()
45 iContentsLengthDER = 0;
49 void CASN1EncNull::WriteContentsDERL(TDes8& /* aBuf */) const