Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
1de62294
Commit
1de62294
authored
Dec 01, 2010
by
Alexander Morozov
Committed by
Alexandre Julliard
Dec 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wincrypt.h: Define some enveloped message callback functions.
parent
61eb9833
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
wincrypt.h
include/wincrypt.h
+37
-0
No files found.
include/wincrypt.h
View file @
1de62294
...
...
@@ -2279,6 +2279,8 @@ static const WCHAR CERT_TRUST_PUB_AUTHENTICODE_FLAGS_VALUE_NAME[] =
"CertDllVerifyCertificateChainPolicy"
#define URL_OID_GET_OBJECT_URL_FUNC "UrlDllGetObjectUrl"
#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 CRYPT_OID_REGPATH "Software\\Microsoft\\Cryptography\\OID"
#define CRYPT_OID_REG_ENCODING_TYPE_PREFIX "EncodingType "
...
...
@@ -3778,6 +3780,41 @@ typedef struct _CMSG_CMS_RECIPIENT_INFO {
#define CMSG_KEY_AGREE_VERSION CMSG_ENVELOPED_RECIPIENT_V3
#define CMSG_MAIL_LIST_VERSION CMSG_ENVELOPED_RECIPIENT_V4
typedef
void
*
(
WINAPI
*
PFN_CMSG_ALLOC
)(
size_t
cb
);
typedef
void
(
WINAPI
*
PFN_CMSG_FREE
)(
void
*
pv
);
typedef
struct
_CMSG_CONTENT_ENCRYPT_INFO
{
DWORD
cbSize
;
HCRYPTPROV
hCryptProv
;
CRYPT_ALGORITHM_IDENTIFIER
ContentEncryptionAlgorithm
;
void
*
pvEncryptionAuxInfo
;
DWORD
cRecipients
;
PCMSG_RECIPIENT_ENCODE_INFO
rgCmsRecipients
;
PFN_CMSG_ALLOC
pfnAlloc
;
PFN_CMSG_FREE
pfnFree
;
DWORD
dwEncryptFlags
;
HCRYPTKEY
hContentEncryptKey
;
DWORD
dwFlags
;
}
CMSG_CONTENT_ENCRYPT_INFO
,
*
PCMSG_CONTENT_ENCRYPT_INFO
;
typedef
struct
_CMSG_KEY_TRANS_ENCRYPT_INFO
{
DWORD
cbSize
;
DWORD
dwRecipientIndex
;
CRYPT_ALGORITHM_IDENTIFIER
KeyEncryptionAlgorithm
;
CRYPT_DATA_BLOB
EncryptedKey
;
DWORD
dwFlags
;
}
CMSG_KEY_TRANS_ENCRYPT_INFO
,
*
PCMSG_KEY_TRANS_ENCRYPT_INFO
;
typedef
BOOL
(
WINAPI
*
PFN_CMSG_GEN_CONTENT_ENCRYPT_KEY
)(
PCMSG_CONTENT_ENCRYPT_INFO
pContentEncryptInfo
,
DWORD
dwFlags
,
void
*
pvReserved
);
typedef
BOOL
(
WINAPI
*
PFN_CMSG_EXPORT_KEY_TRANS
)(
PCMSG_CONTENT_ENCRYPT_INFO
pContentEncryptInfo
,
PCMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO
pKeyTransEncodeInfo
,
PCMSG_KEY_TRANS_ENCRYPT_INFO
pKeyTransEncryptInfo
,
DWORD
dwFlags
,
void
*
pvReserved
);
/* 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