crypto/weakcrypto/inc/keyidentifierutil.h
changeset 0 2c201484c85f
child 8 35751d3474b7
equal deleted inserted replaced
-1:000000000000 0:2c201484c85f
       
     1 /*
       
     2 * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 * ** IMPORTANT ** PublishedPartner API's in this file are published to 3rd party developers via the 
       
    16 * Symbian website. Changes to these API's should be treated as PublishedAll API changes and the Security TA should be consulted.
       
    17 * This utility class provides functions to generate key identifer data from
       
    18 * supplied key data
       
    19 *
       
    20 */
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 /**
       
    26  @file
       
    27  @internalTechnology
       
    28 */
       
    29 
       
    30 #ifndef _KEYIDENTIFIERUTIL_H_
       
    31 #define _KEYIDENTIFIERUTIL_H_
       
    32 
       
    33 #include <securitydefs.h>
       
    34 
       
    35 class CRSAPublicKey;
       
    36 class CDSAPublicKey;
       
    37 class RInteger;
       
    38 
       
    39 /**
       
    40  * Utilities for generation of the key identifier
       
    41  *
       
    42  * @internalTechnology
       
    43  */
       
    44 class KeyIdentifierUtil
       
    45 	{
       
    46 public:
       
    47 	IMPORT_C static void RSAKeyIdentifierL(const CRSAPublicKey&, TKeyIdentifier&);
       
    48 	IMPORT_C static void DSAKeyIdentifierL(const CDSAPublicKey&, TKeyIdentifier&);
       
    49 	IMPORT_C static void DHKeyIdentifierL(const RInteger&, TKeyIdentifier&);
       
    50 	};
       
    51 
       
    52 #endif