Update contrib.
2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
19 #ifndef __KEYCONVERTER_H__
20 #define __KEYCONVERTER_H__
22 #include <asymmetrickeys.h>
40 static CryptoSpi::CKeyPair* CreateKeyPairL(const CDHKeyPair& aKeyPair);
41 static CryptoSpi::CKey* CreateKeyL(const CDHPrivateKey& aPrivateKey);
42 static CryptoSpi::CKey* CreateKeyL(const CDHPublicKey& aPublicKey);
44 static CryptoSpi::CKeyPair* CreateKeyPairL(const CDSAKeyPair& aKeyPair);
45 static CryptoSpi::CKey* CreateKeyL(const CDSAPrivateKey& aPrivateKey);
46 static CryptoSpi::CKey* CreateKeyL(const CDSAPublicKey& aPublicKey);
48 static CryptoSpi::CKeyPair* CreateKeyPairL(const CRSAKeyPair& aKeyPair);
49 static CryptoSpi::CKey* CreateKeyL(const CRSAPrivateKeyStandard& aPrivateKey);
50 static CryptoSpi::CKey* CreateKeyL(const CRSAPrivateKeyCRT& aPrivateKey);
51 static CryptoSpi::CKey* CreateKeyL(const CRSAPrivateKey& aPrivateKey);
52 static CryptoSpi::CKey* CreateKeyL(const CRSAPublicKey& aPublicKey);
55 #endif // __KEYCONVERTER_H__