os/security/crypto/weakcrypto/inc/keyidentifierutil.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     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  @file
    25  @internalTechnology
    26 */
    27 
    28 #ifndef _KEYIDENTIFIERUTIL_H_
    29 #define _KEYIDENTIFIERUTIL_H_
    30 
    31 #include <securitydefs.h>
    32 
    33 class CRSAPublicKey;
    34 class CDSAPublicKey;
    35 class RInteger;
    36 
    37 /**
    38  * Utilities for generation of the key identifier
    39  *
    40  * @internalTechnology
    41  */
    42 class KeyIdentifierUtil
    43 	{
    44 public:
    45 	IMPORT_C static void RSAKeyIdentifierL(const CRSAPublicKey&, TKeyIdentifier&);
    46 	IMPORT_C static void DSAKeyIdentifierL(const CDSAPublicKey&, TKeyIdentifier&);
    47 	IMPORT_C static void DHKeyIdentifierL(const RInteger&, TKeyIdentifier&);
    48 	};
    49 
    50 #endif