mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
add cryptdlg from wine 1.1.13
svn path=/trunk/; revision=39044
This commit is contained in:
parent
5d2dae2c69
commit
ceecc3cd07
11 changed files with 1425 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
<group xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<property name="BASEADDRESS_REGTESTS" value="0x07000000" />
|
||||
<property name="BASEADDRESS_NOTIFYHOOK" value="0x08000000" />
|
||||
<property name="BASEADDRESS_CRYPTDLG" value="0x209C0000" />
|
||||
<property name="BASEADDRESS_COMCAT" value="0x20A50000" />
|
||||
<property name="BASEADDRESS_DEVENUM" value="0x35680000" />
|
||||
<property name="BASEADDRESS_RSABASE" value="0x35700000" />
|
||||
|
|
|
@ -248,6 +248,7 @@ dll\win32\compstui\compstui.dll 1
|
|||
dll\win32\credui\credui.dll 1
|
||||
dll\win32\crtdll\crtdll.dll 1
|
||||
dll\win32\crypt32\crypt32.dll 1
|
||||
dll\win32\cryptdlg\cryptdlg.dll 1
|
||||
dll\win32\cryptdll\cryptdll.dll 1
|
||||
dll\win32\cryptnet\cryptnet.dll 1
|
||||
dll\win32\cryptui\cryptui.dll 1
|
||||
|
|
19
reactos/dll/win32/cryptdlg/cryptdlg.rbuild
Normal file
19
reactos/dll/win32/cryptdlg/cryptdlg.rbuild
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
|
||||
<module name="cryptdlg" type="win32dll" baseaddress="${BASEADDRESS_CRYPTDLG}" installbase="system32" installname="cryptdlg.dll" allowwarnings="true">
|
||||
<autoregister infsection="OleControlDlls" type="DllRegisterServer" />
|
||||
<importlibrary definition="cryptdlg.spec" />
|
||||
<include base="cryptdlg">.</include>
|
||||
<include base="ReactOS">include/reactos/wine</include>
|
||||
<define name="__WINESRC__" />
|
||||
<library>wine</library>
|
||||
<library>advapi32</library>
|
||||
<library>kernel32</library>
|
||||
<library>user32</library>
|
||||
<library>crypt32</library>
|
||||
<library>cryptui</library>
|
||||
<library>wintrust</library>
|
||||
<library>ntdll</library>
|
||||
<file>main.c</file>
|
||||
<file>cryptdlg.rc</file>
|
||||
</module>
|
27
reactos/dll/win32/cryptdlg/cryptdlg.rc
Normal file
27
reactos/dll/win32/cryptdlg/cryptdlg.rc
Normal file
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
* cryptdlg dll resources
|
||||
*
|
||||
* Copyright 2008 Juan Lang
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "winuser.h"
|
||||
#include "cryptres.h"
|
||||
|
||||
#include "cryptdlg_En.rc"
|
||||
#include "cryptdlg_Fr.rc"
|
||||
#include "cryptdlg_Ko.rc"
|
21
reactos/dll/win32/cryptdlg/cryptdlg.spec
Normal file
21
reactos/dll/win32/cryptdlg/cryptdlg.spec
Normal file
|
@ -0,0 +1,21 @@
|
|||
1 stub CertConfigureTrustA
|
||||
2 stub CertConfigureTrustW
|
||||
3 stdcall CertTrustCertPolicy(ptr long long long)
|
||||
4 stdcall CertTrustCleanup(ptr)
|
||||
5 stdcall CertTrustFinalPolicy(ptr)
|
||||
6 stdcall CertTrustInit(ptr)
|
||||
7 stub DecodeAttrSequence
|
||||
8 stub DecodeRecipientID
|
||||
9 stub EncodeAttrSequence
|
||||
10 stub EncodeRecipientID
|
||||
11 stub FormatPKIXEmailProtection
|
||||
12 stdcall FormatVerisignExtension(long long long ptr str ptr long ptr ptr)
|
||||
13 stub CertModifyCertificatesToTrust
|
||||
14 stub CertSelectCertificateA
|
||||
15 stub CertSelectCertificateW
|
||||
16 stdcall CertViewPropertiesA(ptr)
|
||||
17 stdcall CertViewPropertiesW(ptr)
|
||||
18 stdcall -private DllRegisterServer()
|
||||
19 stdcall -private DllUnregisterServer()
|
||||
20 stdcall GetFriendlyNameOfCertA(ptr ptr long)
|
||||
21 stdcall GetFriendlyNameOfCertW(ptr ptr long)
|
36
reactos/dll/win32/cryptdlg/cryptdlg_En.rc
Normal file
36
reactos/dll/win32/cryptdlg/cryptdlg_En.rc
Normal file
|
@ -0,0 +1,36 @@
|
|||
/*
|
||||
* cryptdlg dll resources
|
||||
*
|
||||
* Copyright 2008 Juan Lang
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
IDS_CERT_POLICY "Certificate Policy"
|
||||
IDS_POLICY_ID "Policy Identifier: "
|
||||
IDS_POLICY_QUALIFIER_INFO "Policy Qualifier Info"
|
||||
IDS_POLICY_QUALIFIER_ID "Policy Qualifier Id="
|
||||
IDS_CPS "CPS"
|
||||
IDS_USER_NOTICE "User Notice"
|
||||
IDS_QUALIFIER "Qualifier"
|
||||
IDS_NOTICE_REF "Notice Reference"
|
||||
IDS_ORGANIZATION "Organization="
|
||||
IDS_NOTICE_NUM "Notice Number="
|
||||
IDS_NOTICE_TEXT "Notice Text="
|
||||
}
|
36
reactos/dll/win32/cryptdlg/cryptdlg_Fr.rc
Normal file
36
reactos/dll/win32/cryptdlg/cryptdlg_Fr.rc
Normal file
|
@ -0,0 +1,36 @@
|
|||
/*
|
||||
* cryptdlg dll French resources
|
||||
*
|
||||
* Copyright 2008 Jonathan Ernst
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
IDS_CERT_POLICY "Politique de certificat"
|
||||
IDS_POLICY_ID "Identifiant de politique : "
|
||||
IDS_POLICY_QUALIFIER_INFO "Policy Qualifier Info"
|
||||
IDS_POLICY_QUALIFIER_ID "Policy Qualifier Id="
|
||||
IDS_CPS "CPS"
|
||||
IDS_USER_NOTICE "User Notice"
|
||||
IDS_QUALIFIER "Qualifier"
|
||||
IDS_NOTICE_REF "Notice Reference"
|
||||
IDS_ORGANIZATION "Organisation="
|
||||
IDS_NOTICE_NUM "Notice Number="
|
||||
IDS_NOTICE_TEXT "Notice Text="
|
||||
}
|
37
reactos/dll/win32/cryptdlg/cryptdlg_Ko.rc
Normal file
37
reactos/dll/win32/cryptdlg/cryptdlg_Ko.rc
Normal file
|
@ -0,0 +1,37 @@
|
|||
/*
|
||||
* cryptdlg dll resources
|
||||
*
|
||||
* Copyright 2008 Juan Lang
|
||||
* Copyright 2008 YunSong Hwang
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
IDS_CERT_POLICY "인증 정책"
|
||||
IDS_POLICY_ID "정책 식별자: "
|
||||
IDS_POLICY_QUALIFIER_INFO "정책 구별자 정보"
|
||||
IDS_POLICY_QUALIFIER_ID "정책 구별자 아이디="
|
||||
IDS_CPS "CPS"
|
||||
IDS_USER_NOTICE "사용자 통지"
|
||||
IDS_QUALIFIER "구별자"
|
||||
IDS_NOTICE_REF "통지 참조"
|
||||
IDS_ORGANIZATION "기관="
|
||||
IDS_NOTICE_NUM "통지 번호="
|
||||
IDS_NOTICE_TEXT "통지 텍스트="
|
||||
}
|
33
reactos/dll/win32/cryptdlg/cryptres.h
Normal file
33
reactos/dll/win32/cryptdlg/cryptres.h
Normal file
|
@ -0,0 +1,33 @@
|
|||
/*
|
||||
* Copyright 2008 Juan Lang
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
#ifndef __CRYPTRES_H__
|
||||
#define __CRYPTRES_H__
|
||||
|
||||
#define IDS_CERT_POLICY 100
|
||||
#define IDS_POLICY_ID 101
|
||||
#define IDS_POLICY_QUALIFIER_INFO 102
|
||||
#define IDS_POLICY_QUALIFIER_ID 103
|
||||
#define IDS_CPS 104
|
||||
#define IDS_USER_NOTICE 105
|
||||
#define IDS_QUALIFIER 106
|
||||
#define IDS_NOTICE_REF 107
|
||||
#define IDS_ORGANIZATION 108
|
||||
#define IDS_NOTICE_NUM 109
|
||||
#define IDS_NOTICE_TEXT 110
|
||||
|
||||
#endif /* ndef __CRYPTRES_H__ */
|
1211
reactos/dll/win32/cryptdlg/main.c
Normal file
1211
reactos/dll/win32/cryptdlg/main.c
Normal file
File diff suppressed because it is too large
Load diff
|
@ -61,6 +61,9 @@
|
|||
<directory name="crypt32">
|
||||
<xi:include href="crypt32/crypt32.rbuild" />
|
||||
</directory>
|
||||
<directory name="cryptdlg">
|
||||
<xi:include href="cryptdlg/cryptdlg.rbuild" />
|
||||
</directory>
|
||||
<directory name="cryptdll">
|
||||
<xi:include href="cryptdll/cryptdll.rbuild" />
|
||||
</directory>
|
||||
|
|
Loading…
Reference in a new issue