--- a/cryptoservices/certificateandkeymgmt/inc/x509cert.h Sat Feb 20 00:36:18 2010 +0200
+++ b/cryptoservices/certificateandkeymgmt/inc/x509cert.h Fri Mar 12 15:51:07 2010 +0200
@@ -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,13 @@
* @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. */