Update contrib.
2 * Copyright (c) 2006-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.
25 #ifndef __RSAKEYPAIRSHIM_H__
26 #define __RSAKEYPAIRSHIM_H__
28 #include "asymmetrickeys.h"
31 * This class generates an RSA public/private key pair via CryptoSPI
34 NONSHARABLE_CLASS(CRSAKeyPairShim) : public CRSAKeyPair
38 * Creates a new RSA key pair
40 static CRSAKeyPairShim* NewLC(TUint aModulusBits, TRSAPrivateKeyType aKeyType);
42 ~CRSAKeyPairShim(void);
46 CRSAKeyPairShim(void);
49 * 2nd stage constructor
51 void ConstructL(TUint aModulusBits, TRSAPrivateKeyType aKeyType, TInt aPublicExponent);
54 CRSAKeyPairShim(const CRSAKeyPairShim&);
55 CRSAKeyPairShim& operator=(const CRSAKeyPairShim&);
58 #endif // __RSAKEYPAIRSHIM_H__