windows-nt/Source/XPSP1/NT/ds/security/services/ca/certreq/certreq.rc
2020-09-26 16:20:57 +08:00

359 lines
10 KiB
Plaintext

//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1996 - 1999
//
// File: certreq.rc
//
//--------------------------------------------------------------------------
#include <windows.h>
#include <ntverp.h>
#include "clibres.h"
#include "certlib.rc"
// This stuff came from the MSDev generated spew
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
//#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_APP ICON DISCARDABLE "csapp.ico"
IDI_PRODUCT ICON DISCARDABLE "csprod.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ENCODING DIALOG DISCARDABLE 0, 0, 225, 142
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Encode and Decode Options"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK",IDOK,168,7,50,14
PUSHBUTTON "Cancel",IDCANCEL,168,24,50,14
LTEXT "Select whether you wish to submit a request for a certificate, or to encode or decode a file between base 64 text and binary formats.",
IDC_STATIC,14,14,142,49
GROUPBOX "Encode/Decode/Request Certificate",IDC_STATIC,14,70,198,58
CONTROL "Request Certificate",IDC_NOBASE64RADIO,"Button",
BS_AUTORADIOBUTTON | WS_GROUP,47,85,120,10
CONTROL "Decode base 64 file to binary file",IDC_DECODERADIO,"Button",
BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,47,97,120,10
CONTROL "Encode binary file to base 64 file",IDC_ENCODERADIO,"Button",
BS_AUTORADIOBUTTON | WS_GROUP,47,109,120,10
END
/////////////////////////////////////////////////////////////////////////////
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
IDD_ENCODING, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 218
TOPMARGIN, 7
BOTTOMMARGIN, 135
END
END
#endif // APSTUDIO_INVOKED
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
// NOTE: IDS_ strings from here on must be < 64 wchars
IDS_REQUEST_FILTER2 "All Files (*.*)|*.*||"
IDS_REQUEST_OUTFILE_TITLE "Save As Outfile Name"
IDS_REQUEST_CERT_ERROR "Certificate request Error."
IDS_RESPONSE_FILE_FILTER "PKCS #7 (*.p7b)|*.p7b|X.509 Certificate (*.cer;*.crt)|*.cer;*.crt|Full Response (*.rsp)|*.rsp|All Files (*.*)|*.*||"
IDS_RESPONSE_FILE_DEFEXT "p7b"
IDS_REQUEST_OR_CERT_FILE_FILTER "Request (*.req; *.txt)|*.req;*.txt|X.509 Certificate (*.cer;*.crt)|*.cer;*.crt|All Files (*.*)|*.*||"
IDS_INF_OPEN_TITLE "Open Inf File"
IDS_INF_FILE_FILTER "Inf Files (*.inf)|*.inf|All Files (*.*)|*.*||"
IDS_INF_FILE_DEFEXT "inf"
IDS_APP_NAME "CertReqApp"
IDS_WINDOW_NAME "CertReq Application"
IDS_ERROR_NO_REQUESTID "Missing RequestId parameter"
IDS_ERROR_STRCONVERSION "String conversion failed -- out of memory"
IDS_DISPOSITION_INCOMPLETE "Incomplete"
IDS_DISPOSITION_ERROR "Error"
IDS_DISPOSITION_DENIED "Denied"
IDS_DISPOSITION_ISSUED "Issued"
IDS_DISPOSITION_ISSUED_OOB "Issued out of band"
IDS_DISPOSITION_UNDER_SUBMISSION "Pending"
IDS_DISPOSITION_REVOKED "Revoked"
IDS_DISPOSITION_UNKNOWN "???"
// NOTE: IDS_FORMATSTR strings from here on must be < 128 wchars
IDS_FORMATSTR_CERTNOTISSUED "Certificate not issued (%ls) %ls"
IDS_FORMATSTR_CERTPENDING "Certificate request is pending: %ls (%x)"
IDS_CERTREQ_TITLE "Certificate Request Processor"
IDS_FORMATSTR_DECODE_ERR "DecodeFile returned %ls"
IDS_FORMATSTR_ERRCONFIG "ConfigGetConfig returned %ls"
IDS_ERROR_NO_FILENAME "Missing filename parameter"
IDS_FORMATSTR_CERTRETRIEVED "Certificate retrieved(%ls) %ls"
IDS_NOMORE_CAS "No Certification Authorities available"
IDS_GETERACERT_TITLE "Certificate List"
IDS_GETERACERT_SUBTITLE "&List Enrollment Registration Agent certificates"
IDS_GETRENEWALCERT_TITLE "Certificate List"
IDS_GETRENEWALCERT_SUBTITLE "&Select certificate to be renewed"
IDS_GETSIGNINGCERT_TITLE "Certificate List"
IDS_GETSIGNINGCERT_SUBTITLE "&Select signing certificate"
IDS_OVERWRITE_FILE "Do you wish to overwrite the following file?"
IDS_FORMATSTR_REQUESTID "RequestId: %u"
END
STRINGTABLE DISCARDABLE
BEGIN
// Leading \ characters on each usage string line are replaced with blanks.
IDS_USAGE_GENERAL
"Usage:\n\
\x20 CertReq -?\n\
\x20 CertReq [-v] -?\n\
\x20 CertReq [-Command] -?\n"
IDS_USAGE_VERB_DEFAULT
"\
\x20 CertReq [-%1] [Options] [RequestFileIn [CertFileOut [CertChainFileOut [FullResponseFileOut]]]]\n\
\x20 Submit a request to a Certification Authority.\n"
IDS_USAGE_OPTIONS_DEFAULT
"\
\x20 -%2 AttributeString\n\
\x20 -%3\n\
\x20 -%5 ConfigString\n\
\x20 -%6\n\
\x20 -%9\n"
IDS_USAGE_VERB_RETRIEVE
"\
\x20 CertReq -%1 [Options] RequestId [CertFileOut [CertChainFileOut [FullResponseFileOut]]]\n\
\x20 Retrieve a response to a previous request from a Certification Authority.\n"
IDS_USAGE_OPTIONS_RETRIEVE
"\
\x20 -%3\n\
\x20 -%5 ConfigString\n\
\x20 -%6\n\
\x20 -%9\n"
IDS_USAGE_VERB_POLICY
"\
\x20 CertReq -%1 [Options] [RequestFileIn [PolicyFileIn [RequestFileOut [PKCS10FileOut]]]]\n\
\x20 Construct a cross certification or qualified subordination request\n\
\x20 from an existing CA certificate or from an existing request.\n"
IDS_USAGE_OPTIONS_POLICY
"\
\x20 -%2 AttributeString \n\
\x20 -%3\n\
\x20 -%4 CertId\n"
IDS_USAGE_VERB_SIGN
"\
\x20 CertReq -%1 [Options] [RequestFileIn [RequestFileOut]]\n\
\x20 Sign a cross certification or qualified subordination request.\n"
IDS_USAGE_OPTIONS_SIGN
"\
\x20 -%3\n\
\x20 -%4 CertId\n\
\x20 -%6\n"
IDS_USAGE_VERB_NEW
"\
\x20 CertReq -%1 [Options] [PolicyFileIn [RequestFileOut]]\n\
\x20 Create a new request as directed by PolicyFileIn\n"
IDS_USAGE_OPTIONS_NEW
"\
\x20 -%2 AttributeString
\x20 -%3
\x20 -%4 CertId\n"
IDS_USAGE_VERB_ACCEPT
"\
\x20 CertReq -%1 [CertChainFileIn | FullResponseFileIn | CertFileIn]\n\
\x20 Accept and install a response to a previous new request.\n"
IDS_USAGE_OPTIONS_ACCEPT " "
IDS_USAGE_OPTIONS_DESCRIPTION "Description:\n"
IDS_USAGE_OPTION_ANY
"%1\n\
Force ICertRequest::Submit to determine encoding\n\
type\n"
IDS_USAGE_OPTION_ATTRIB
"%2 AttributeString\n\
Request attribute string\n"
IDS_USAGE_OPTION_BINARY
"%3\n\
Output files in binary format instead of Base64-\n\
encoded\n"
IDS_USAGE_OPTION_CERT
"%4 CertId\n\
Specify signing certificate by common name,\n\
serial number, or by sha-1 Key or cert hash\n"
IDS_USAGE_OPTION_CONFIG
"%5 ConfigString\n\
Server\\CertificationAuthority config string\n\
or use a single minus sign (-) as config string\n"
IDS_USAGE_OPTION_CRL
"%6\n\
Include CRLs in CertChainFileOut or\n\
RequestFileOut\n"
IDS_USAGE_OPTION_F
"%7\n\
Force overwrite of existing files\n"
IDS_USAGE_OPTION_Q
"%8\n\
Suppress all interactive dialogs\n"
IDS_USAGE_OPTION_RPC
"%9\n\
Use RPC instead of DCOM server connection\n"
IDS_USAGE_OPTION_VERBOSE
"%10\n\
Display Full Response Properties\n"
IDS_USAGE_OPTION_QUESTION
"%11\n\
Display this usage message\n"
IDS_USAGE_OPTION_V1
"%12\n\
Use version 1 interfaces\n"
IDS_USAGE_OPTION_IDISPATCH
"%13\n\
Use IDispatch instead of COM native methods\n"
IDS_USAGE_DESCRIPTION
"\
\x20 RequestFileIn - Base64-encoded or binary input file name:\n\
\x20 PKCS10 certificate request,\n\
\x20 CMS certificate request,\n\
\x20 PKCS7 certificate renewal request,\n\
\x20 X-509 certificate to be cross-certified, or\n\
\x20 KeyGen tag format certificate request\n\
\x20 RequestFileOut - Base64-encoded output file name\n\
\x20 PKCS10FileOut - Base64-encoded PKCS10 output file name\n\
\x20 CertFileOut - Base64-encoded X-509 file name\n\
\x20 CertChainFileOut - Base64-encoded PKCS7 file name\n\
\x20 FullResponseFileOut - Base64-encoded Full Response file name\n\
\x20 ConfigString - Backslash separated Server Name and Certification\n\
\x20 Authority Name: MachineDnsName\\CAName\n\
\x20 AttributeString - Colon separated Name and Value string pairs\n\
\x20 Each pair separated by a backslash and ""n""\n\
\x20 Example: ""Name1: Value1\\n Name2: Value2""\n\
\x20 PolicyFileIn - INF file containing a textual representation\n\
\x20 of extensions used to qualify a request\n\
\n"
END
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED
// This material was in the original hand generated RC file
#define VER_FILETYPE VFT_APP
#define VER_FILESUBTYPE VFT2_UNKNOWN
#define VER_FILEDESCRIPTION_STR "CertReq.exe"
#define VER_INTERNALNAME_STR "CertReq.exe"
#define VER_ORIGINALFILENAME_STR VER_INTERNALNAME_STR
#include <common.ver>