Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
60be01f1
Commit
60be01f1
authored
Dec 15, 2010
by
Alexander Morozov
Committed by
Alexandre Julliard
Dec 16, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wincrypt.h: Define PFN_CMSG_IMPORT_KEY_TRANS callback function.
parent
e39c6d04
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
wincrypt.h
include/wincrypt.h
+14
-0
No files found.
include/wincrypt.h
View file @
60be01f1
...
...
@@ -2281,6 +2281,7 @@ static const WCHAR CERT_TRUST_PUB_AUTHENTICODE_FLAGS_VALUE_NAME[] =
#define TIME_VALID_OID_GET_OBJECT_FUNC "TimeValidDllGetObject"
#define CMSG_OID_GEN_CONTENT_ENCRYPT_KEY_FUNC "CryptMsgDllGenContentEncryptKey"
#define CMSG_OID_EXPORT_KEY_TRANS_FUNC "CryptMsgDllExportKeyTrans"
#define CMSG_OID_IMPORT_KEY_TRANS_FUNC "CryptMsgDllImportKeyTrans"
#define CRYPT_OID_REGPATH "Software\\Microsoft\\Cryptography\\OID"
#define CRYPT_OID_REG_ENCODING_TYPE_PREFIX "EncodingType "
...
...
@@ -3805,6 +3806,14 @@ typedef struct _CMSG_KEY_TRANS_ENCRYPT_INFO {
DWORD
dwFlags
;
}
CMSG_KEY_TRANS_ENCRYPT_INFO
,
*
PCMSG_KEY_TRANS_ENCRYPT_INFO
;
typedef
struct
_CMSG_CTRL_KEY_TRANS_DECRYPT_PARA
{
DWORD
cbSize
;
HCRYPTPROV
hCryptProv
;
DWORD
dwKeySpec
;
PCMSG_KEY_TRANS_RECIPIENT_INFO
pKeyTrans
;
DWORD
dwRecipientIndex
;
}
CMSG_CTRL_KEY_TRANS_DECRYPT_PARA
,
*
PCMSG_CTRL_KEY_TRANS_DECRYPT_PARA
;
typedef
BOOL
(
WINAPI
*
PFN_CMSG_GEN_CONTENT_ENCRYPT_KEY
)(
PCMSG_CONTENT_ENCRYPT_INFO
pContentEncryptInfo
,
DWORD
dwFlags
,
void
*
pvReserved
);
...
...
@@ -3815,6 +3824,11 @@ typedef BOOL (WINAPI *PFN_CMSG_EXPORT_KEY_TRANS)(
PCMSG_KEY_TRANS_ENCRYPT_INFO
pKeyTransEncryptInfo
,
DWORD
dwFlags
,
void
*
pvReserved
);
typedef
BOOL
(
WINAPI
*
PFN_CMSG_IMPORT_KEY_TRANS
)(
PCRYPT_ALGORITHM_IDENTIFIER
pContentEncryptionAlgorithm
,
PCMSG_CTRL_KEY_TRANS_DECRYPT_PARA
pKeyTransDecryptPara
,
DWORD
dwFlags
,
void
*
pvReserved
,
HCRYPTKEY
*
phContentEncryptKey
);
/* CryptMsgGetAndVerifySigner flags */
#define CMSG_TRUSTED_SIGNER_FLAG 0x1
#define CMSG_SIGNER_ONLY_FLAG 0x2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment