Update contrib.
2 * Copyright (c) 2002-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.
25 #ifndef __MCTCERTAPPS_H__
26 #define __MCTCERTAPPS_H__
31 #include <ct/mcttokeninterface.h>
33 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
34 #include <mctcertappinterface.h>
40 * Information about a certificate application.
42 * Certificate applications are used to represent classes of certificate use,
43 * for example Software Install, TLS, WTLS, WMLScript, SignText, etc.
45 * CA Certificates are associated with zero or more applications, and this
46 * information is used to determine which certificates are used when building
47 * and validating certificate chains.
49 * An application is identified by a UID. A TCertificateAppInfo contains this
50 * and the name of the application.
53 class TCertificateAppInfo
56 IMPORT_C TCertificateAppInfo(const TUid& aUid, const TName& aName);
57 IMPORT_C TCertificateAppInfo& operator = (const TCertificateAppInfo& aClient);
58 IMPORT_C TCertificateAppInfo();
59 IMPORT_C const TUid& Id() const;
60 IMPORT_C const TName& Name() const;
61 IMPORT_C void ExternalizeL(RWriteStream& aStream) const;
62 IMPORT_C void InternalizeL(RReadStream& aStream);
70 #endif // __MCTCERTAPPS_H__