equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2000, 2004 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "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". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: This file contains header of the CX509CertificateSet class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CERTIFICATESET |
|
21 #define CERTIFICATESET |
|
22 |
|
23 // INCLUDES |
|
24 |
|
25 #include <x509cert.h> // CX509Certificate |
|
26 #include <x509certext.h> // TKeyUsage |
|
27 |
|
28 /** |
|
29 * Class CX509CertificateSet |
|
30 * Class CX509CertificateSet contains set of CX509Certificate objects. |
|
31 * |
|
32 * @lib crpkcs12.lib |
|
33 * @since Series 60 3.0 |
|
34 */ |
|
35 NONSHARABLE_CLASS( CX509CertificateSet ): public CArrayPtrFlat<CX509Certificate> |
|
36 { |
|
37 ///////////////////////////////////////////// |
|
38 // Constructors and destructors. |
|
39 private: |
|
40 CX509CertificateSet(TInt aGranularity); |
|
41 void ConstructL(); |
|
42 |
|
43 public: |
|
44 static CX509CertificateSet* NewLC(TInt aGranularity); |
|
45 static CX509CertificateSet* NewL(TInt aGranularity); |
|
46 ~CX509CertificateSet(); |
|
47 |
|
48 // Applies CX509Certificates into CX509CertificateSet |
|
49 TUint DecodeCertsL(const TDesC8& aBinaryData); |
|
50 }; |
|
51 |
|
52 #endif CERTIFICATESET |