First public contribution.
2 * Copyright (c) 2006-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.
31 _LIT(KCmsDataOID, "1.2.840.113549.1.7.1");
33 /** CMS-2 SignedData */
34 _LIT(KCmsSignedDataOID, "1.2.840.113549.1.7.2");
36 /** CMS-3 EnvelopedData */
37 _LIT(KCmsEnvelopedDataOID, "1.2.840.113549.1.7.3");
39 /** CMS-5 DigestedData */
40 _LIT(KCmsDigestedDataOID, "1.2.840.113549.1.7.5");
42 /** CMS-6 EncryptedData */
43 _LIT(KCmsEncryptedDataOID, "1.2.840.113549.1.7.6");
45 /** CMS AuthenticatedData */
46 _LIT(KCmsAuthenticatedDataOID, "1.2.840.113549.1.9.16.1.2");
50 Cms Content Info Types
52 enum TCmsContentInfoType
61 EContentTypeSignedData =2,
65 EContentTypeEnvelopedData = 3,
69 EContentTypeDigestedData = 5,
73 EContentTypeEncryptedData =6,
75 Authenticated Data Type
77 EContentTypeAuthenticatedData =7
81 CMS version definition