pkiutilities/PKCS12/CrPkcs12/Inc/CX509CertificateSet.h
changeset 0 164170e6151a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pkiutilities/PKCS12/CrPkcs12/Inc/CX509CertificateSet.h	Tue Jan 26 15:20:08 2010 +0200
@@ -0,0 +1,52 @@
+/*
+* Copyright (c) 2000, 2004 Nokia Corporation and/or its subsidiary(-ies). 
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:   This file contains header of the CX509CertificateSet class.
+*
+*/
+
+
+
+#ifndef CERTIFICATESET
+#define CERTIFICATESET
+
+//  INCLUDES
+
+#include <x509cert.h>                   // CX509Certificate
+#include <x509certext.h>                // TKeyUsage
+
+/**
+*  Class CX509CertificateSet
+*  Class CX509CertificateSet contains set of CX509Certificate objects.
+*
+*  @lib crpkcs12.lib
+*  @since Series 60 3.0
+*/
+NONSHARABLE_CLASS( CX509CertificateSet ): public CArrayPtrFlat<CX509Certificate>
+    {
+   /////////////////////////////////////////////
+   // Constructors and destructors.
+    private:
+        CX509CertificateSet(TInt aGranularity);
+        void ConstructL();
+        
+    public:
+         static CX509CertificateSet* NewLC(TInt aGranularity);
+         static CX509CertificateSet* NewL(TInt aGranularity);
+         ~CX509CertificateSet();
+
+        // Applies CX509Certificates into CX509CertificateSet
+         TUint DecodeCertsL(const TDesC8& aBinaryData);
+    };
+
+#endif CERTIFICATESET
\ No newline at end of file