cryptoservices/certificateandkeymgmt/inc/x509cert.h
changeset 60 11c66574c2a2
parent 30 cf642210ecb7
child 65 970c0057d9bc
equal deleted inserted replaced
56:c11c717470d0 60:11c66574c2a2
     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 				
       
   626 
   619 	/** Destructor.
   627 	/** Destructor.
   620 	* 
   628 	* 
   621 	* Frees all resources owned by the object, prior to its destruction. */
   629 	* Frees all resources owned by the object, prior to its destruction. */
   622 	IMPORT_C ~CX509Certificate();
   630 	IMPORT_C ~CX509Certificate();
   623 	
   631