cryptoservices/certificateandkeymgmt/inc/x509cert.h
changeset 60 11c66574c2a2
parent 30 cf642210ecb7
child 65 970c0057d9bc
--- a/cryptoservices/certificateandkeymgmt/inc/x509cert.h	Fri Apr 16 16:52:34 2010 +0300
+++ b/cryptoservices/certificateandkeymgmt/inc/x509cert.h	Mon May 03 14:11:52 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 1998-2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of the License "Eclipse Public License v1.0"
@@ -616,6 +616,14 @@
 	* @return		The new X.509 certificate object. */
 	IMPORT_C static CX509Certificate* NewLC(const CX509Certificate& aCert);
 
+   /** Retrieves the subject key identifier of a certificate based on the decision whether
+	* it is a CA certificate or not. If it is a CA certificate then returns the stored subject key id 
+	* as an extension in the certificate, any other certificate it returns the keyidentifier as 
+	* calculated by Symbian's proprietary logic.
+	* @return	The subject key identifier for the certificate. */
+	IMPORT_C TKeyIdentifier SubjectKeyIdL();
+				
+
 	/** Destructor.
 	* 
 	* Frees all resources owned by the object, prior to its destruction. */