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
f2ee8242
Commit
f2ee8242
authored
Jan 27, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Jan 28, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add PFX definitions.
parent
a53537d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
wincrypt.h
include/wincrypt.h
+20
-0
No files found.
include/wincrypt.h
View file @
f2ee8242
...
...
@@ -3769,6 +3769,15 @@ typedef struct _CMSG_CMS_RECIPIENT_INFO {
#define CMSG_ENCODED_SORTED_CTL_FLAG 0x1
#define CMSG_ENCODE_HASHED_SUBJECT_IDENTIFIER_FLAG 0x2
/* PFXImportCertStore flags */
#define CRYPT_USER_KEYSET 0x00001000
#define PKCS12_IMPORT_RESERVED_MASK 0xffff0000
/* PFXExportCertStore flags */
#define REPORT_NO_PRIVATE_KEY 0x00000001
#define REPORT_NOT_ABLE_TO_EXPORT_PRIVATE_KEY 0x00000002
#define EXPORT_PRIVATE_KEYS 0x00000004
#define PKCS12_EXPORT_RESERVED_MASK 0xffff0000
/* function declarations */
/* advapi32.dll */
WINADVAPI
BOOL
WINAPI
CryptAcquireContextA
(
HCRYPTPROV
*
,
LPCSTR
,
LPCSTR
,
DWORD
,
DWORD
);
...
...
@@ -4389,6 +4398,17 @@ BOOL WINAPI CryptVerifyDetachedMessageHash(PCRYPT_HASH_MESSAGE_PARA pHashPara,
const
BYTE
*
rgpbToBeHashed
[],
DWORD
rgcbToBeHashed
[],
BYTE
*
pbComputedHash
,
DWORD
*
pcbComputedHash
);
/* PFX functions */
HCERTSTORE
WINAPI
PFXImportCertStore
(
CRYPT_DATA_BLOB
*
pPFX
,
LPCWSTR
szPassword
,
DWORD
dwFlags
);
BOOL
WINAPI
PFXIsPFXBlob
(
CRYPT_DATA_BLOB
*
pPFX
);
BOOL
WINAPI
PFXVerifyPassword
(
CRYPT_DATA_BLOB
*
pPFX
,
LPCWSTR
szPassword
,
DWORD
dwFlags
);
BOOL
WINAPI
PFXExportCertStoreEx
(
HCERTSTORE
hStore
,
CRYPT_DATA_BLOB
*
pPFX
,
LPCWSTR
szPassword
,
void
*
pvReserved
,
DWORD
dwFlags
);
BOOL
WINAPI
PFXExportCertStore
(
HCERTSTORE
hStore
,
CRYPT_DATA_BLOB
*
pPFX
,
LPCWSTR
szPassword
,
DWORD
dwFlags
);
/* cryptnet.dll functions */
BOOL
WINAPI
CryptCancelAsyncRetrieval
(
HCRYPTASYNC
hAsyncRetrieval
);
...
...
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