sl@0: /* sl@0: * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of the License "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * ** IMPORTANT ** PublishedPartner API's in this file are published to 3rd party developers via the sl@0: * Symbian website. Changes to these API's should be treated as PublishedAll API changes and the Security TA should be consulted. sl@0: * This utility class provides functions to generate key identifer data from sl@0: * supplied key data sl@0: * sl@0: */ sl@0: sl@0: sl@0: /** sl@0: @file sl@0: @internalTechnology sl@0: */ sl@0: sl@0: #ifndef _KEYIDENTIFIERUTIL_H_ sl@0: #define _KEYIDENTIFIERUTIL_H_ sl@0: sl@0: #include sl@0: sl@0: class CRSAPublicKey; sl@0: class CDSAPublicKey; sl@0: class RInteger; sl@0: sl@0: /** sl@0: * Utilities for generation of the key identifier sl@0: * sl@0: * @internalTechnology sl@0: */ sl@0: class KeyIdentifierUtil sl@0: { sl@0: public: sl@0: IMPORT_C static void RSAKeyIdentifierL(const CRSAPublicKey&, TKeyIdentifier&); sl@0: IMPORT_C static void DSAKeyIdentifierL(const CDSAPublicKey&, TKeyIdentifier&); sl@0: IMPORT_C static void DHKeyIdentifierL(const RInteger&, TKeyIdentifier&); sl@0: }; sl@0: sl@0: #endif