equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006-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 * Interface for the CDSAKeyGenerator class |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 /** |
|
21 @file |
|
22 @internalComponent |
|
23 */ |
|
24 |
|
25 #if !defined(AFX_DSAKEYGENERATOR_H__7030227B_AD30_44E7_875F_540D985021EB__INCLUDED_) |
|
26 #define AFX_DSAKEYGENERATOR_H__7030227B_AD30_44E7_875F_540D985021EB__INCLUDED_ |
|
27 |
|
28 #if _MSC_VER > 1000 |
|
29 #pragma once |
|
30 #endif // _MSC_VER > 1000 |
|
31 |
|
32 #include "KeyGenerator.h" |
|
33 #include "openssl/dsa.h" |
|
34 |
|
35 static void DSAKeyStatus(int aCode, int aArg, void* aCbArg); |
|
36 |
|
37 class CDSAKeyGenerator : public CKeyGenerator |
|
38 { |
|
39 public: |
|
40 int Generate(); |
|
41 CDSAKeyGenerator(); |
|
42 virtual ~CDSAKeyGenerator(); |
|
43 |
|
44 }; |
|
45 |
|
46 #endif // !defined(AFX_DSAKEYGENERATOR_H__7030227B_AD30_44E7_875F_540D985021EB__INCLUDED_) |