cryptoservices/certificateandkeymgmt/inc/x509cert.h
branchRCL_3
changeset 42 eb9b28acd381
parent 33 cf642210ecb7
child 53 b38692a04122
equal deleted inserted replaced
41:9b5a3a9fddf8 42:eb9b28acd381
     1 /*
     1 /*
     2 * Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 1998-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   614 	* 
   614 	* 
   615 	* @param aCert	The X.509 certificate to be copied.
   615 	* @param aCert	The X.509 certificate to be copied.
   616 	* @return		The new X.509 certificate object. */
   616 	* @return		The new X.509 certificate object. */
   617 	IMPORT_C static CX509Certificate* NewLC(const CX509Certificate& aCert);
   617 	IMPORT_C static CX509Certificate* NewLC(const CX509Certificate& aCert);
   618 
   618 
       
   619 	/** Retrieves the subject key identifier of a certificate based on the decision whether
       
   620 	* it is a CA certificate or not. If it is a CA certificate then returns the stored subject key id 
       
   621 	* as an extension in the certificate, any other certificate it returns the keyidentifier as 
       
   622 	* calculated by Symbian's proprietary logic.
       
   623 	* @return	The subject key identifier for the certificate. */
       
   624 	IMPORT_C TKeyIdentifier SubjectKeyIdL();
       
   625 				
   619 	/** Destructor.
   626 	/** Destructor.
   620 	* 
   627 	* 
   621 	* Frees all resources owned by the object, prior to its destruction. */
   628 	* Frees all resources owned by the object, prior to its destruction. */
   622 	IMPORT_C ~CX509Certificate();
   629 	IMPORT_C ~CX509Certificate();
   623 	
   630