os/security/cryptoservices/certificateandkeymgmt/certstore/unifiedcertstoreworkingvars.h
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 * CUnifiedCertStoreWorkingVars class implementation
26 #include <mctwritablecertstore.h>
29 class CX500DistinguishedName;
31 NONSHARABLE_CLASS(CUnifiedCertStoreWorkingVars) : public CBase
34 CUnifiedCertStoreWorkingVars();
35 virtual ~CUnifiedCertStoreWorkingVars();
39 * This stores the list of Token Types that support the
40 * writable cert store interface.
41 * Used while initializing the store.
43 RCPointerArray<CCTTokenTypeInfo> iWritableTokenTypes;
45 * This stores the list of Token Types that support the
46 * readable cert store interface.
47 * Used while initializing the store.
49 RCPointerArray<CCTTokenTypeInfo> iReadOnlyTokenTypes;
52 * Used to point to the array given as argument when listing certificates.
54 RMPointerArray<CCTCertInfo>* iCertInfos;
56 * Used to point to the filter given as argument when listing certificates.
58 const CCertAttributeFilter* iFilter;
61 * Used to point to the array of applications given as argument when doing
62 * the following operations :
66 RArray<TUid>* iApplications;
69 * Used to point to the certificate info given as argument when doing the following
79 const CCTCertInfo* iCertInfo;
82 * This is used as an index for
83 * - the iWritableTokenTypes array when we are initializing the store.
84 * - the iReadOnlyTokenTypes array when we are initializing the store.
88 /** The first returned certificate to be added to the array during
89 * a list, or the cert whose issuer DN is currently being compared. */
92 /** The required issuer name for a list. */
93 RPointerArray<TDesC8> iIssuerNames;
94 /** The issuer names in parsed format */
95 RPointerArray<CX500DistinguishedName> iParsedIssuerNames;
96 /** Hashes of issuer names */
97 RPointerArray<HBufC8> iHashedIssuerNames;
99 /** A hash of the issuer DN. Used for comparing DNs in URL certificates */
102 /** A descriptor used for storing certs while returning them as
103 CCertificate objects */
105 /** A pointer to the modifiable descriptor for returning the
106 CCertificate objects - normally points to to iCertDesC */
109 /** Pointer to returned certificate pointer */
110 CCertificate** iReturnedCert;
112 /** Type of the certificate being retrieved */
113 TCertificateFormat iCertType;