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
309b2680
Commit
309b2680
authored
Apr 05, 2006
by
Juan Lang
Committed by
Alexandre Julliard
Apr 06, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Add support for the CERT_KEY_PROV_INFO_PROP_ID certificate property.
parent
603f13e2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
165 additions
and
29 deletions
+165
-29
store.c
dlls/crypt32/store.c
+130
-29
wincrypt.h
include/wincrypt.h
+35
-0
No files found.
dlls/crypt32/store.c
View file @
309b2680
This diff is collapsed.
Click to expand it.
include/wincrypt.h
View file @
309b2680
...
@@ -128,6 +128,29 @@ typedef struct _CRYPT_BIT_BLOB {
...
@@ -128,6 +128,29 @@ typedef struct _CRYPT_BIT_BLOB {
DWORD
cUnusedBits
;
DWORD
cUnusedBits
;
}
CRYPT_BIT_BLOB
,
*
PCRYPT_BIT_BLOB
;
}
CRYPT_BIT_BLOB
,
*
PCRYPT_BIT_BLOB
;
typedef
struct
_CRYPT_KEY_PROV_PARAM
{
DWORD
dwParam
;
BYTE
*
pbData
;
DWORD
cbData
;
DWORD
dwFlags
;
}
CRYPT_KEY_PROV_PARAM
,
*
PCRYPT_KEY_PROV_PARAM
;
typedef
struct
_CRYPT_KEY_PROV_INFO
{
LPWSTR
pwszContainerName
;
LPWSTR
pwszProvName
;
DWORD
dwProvType
;
DWORD
dwFlags
;
DWORD
cProvParam
;
PCRYPT_KEY_PROV_PARAM
rgProvParam
;
DWORD
dwKeySpec
;
}
CRYPT_KEY_PROV_INFO
,
*
PCRYPT_KEY_PROV_INFO
;
typedef
struct
_CERT_KEY_CONTEXT
{
DWORD
cbSize
;
HCRYPTPROV
hCryptProv
;
DWORD
dwKeySpec
;
}
CERT_KEY_CONTEXT
,
*
PCERT_KEY_CONTEXT
;
typedef
struct
_CERT_PUBLIC_KEY_INFO
{
typedef
struct
_CERT_PUBLIC_KEY_INFO
{
CRYPT_ALGORITHM_IDENTIFIER
Algorithm
;
CRYPT_ALGORITHM_IDENTIFIER
Algorithm
;
CRYPT_BIT_BLOB
PublicKey
;
CRYPT_BIT_BLOB
PublicKey
;
...
@@ -2408,6 +2431,12 @@ static const WCHAR CERT_PHYSICAL_STORE_AUTH_ROOT_NAME[] =
...
@@ -2408,6 +2431,12 @@ static const WCHAR CERT_PHYSICAL_STORE_AUTH_ROOT_NAME[] =
#define CERT_NAME_ISSUER_FLAG 0x00000001
#define CERT_NAME_ISSUER_FLAG 0x00000001
#define CERT_NAME_DISABLE_IE4_UTF8_FLAG 0x00010000
#define CERT_NAME_DISABLE_IE4_UTF8_FLAG 0x00010000
#define CERT_SET_KEY_PROV_HANDLE_PROP_ID 0x00000001
#define CERT_SET_KEY_CONTEXT_PROP_ID 0x00000001
#define CERT_CREATE_SELFSIGN_NO_SIGN 1
#define CERT_CREATE_SELFSIGN_NO_KEY_INFO 2
/* function declarations */
/* function declarations */
/* advapi32.dll */
/* advapi32.dll */
BOOL
WINAPI
CryptAcquireContextA
(
HCRYPTPROV
*
phProv
,
LPCSTR
pszContainer
,
BOOL
WINAPI
CryptAcquireContextA
(
HCRYPTPROV
*
phProv
,
LPCSTR
pszContainer
,
...
@@ -2668,6 +2697,12 @@ PCCRL_CONTEXT WINAPI CertCreateCRLContext( DWORD dwCertEncodingType,
...
@@ -2668,6 +2697,12 @@ PCCRL_CONTEXT WINAPI CertCreateCRLContext( DWORD dwCertEncodingType,
PCCTL_CONTEXT
WINAPI
CertCreateCTLContext
(
DWORD
dwMsgAndCertEncodingType
,
PCCTL_CONTEXT
WINAPI
CertCreateCTLContext
(
DWORD
dwMsgAndCertEncodingType
,
const
BYTE
*
pbCtlEncoded
,
DWORD
cbCtlEncoded
);
const
BYTE
*
pbCtlEncoded
,
DWORD
cbCtlEncoded
);
PCCERT_CONTEXT
WINAPI
CertCreateSelfSignCertificate
(
HCRYPTPROV
hProv
,
PCERT_NAME_BLOB
pSubjectIssuerBlob
,
DWORD
dwFlags
,
PCRYPT_KEY_PROV_INFO
pKeyProvInfo
,
PCRYPT_ALGORITHM_IDENTIFIER
pSignatureAlgorithm
,
PSYSTEMTIME
pStartTime
,
PSYSTEMTIME
pEndTime
,
PCERT_EXTENSIONS
pExtensions
);
BOOL
WINAPI
CertDeleteCertificateFromStore
(
PCCERT_CONTEXT
pCertContext
);
BOOL
WINAPI
CertDeleteCertificateFromStore
(
PCCERT_CONTEXT
pCertContext
);
BOOL
WINAPI
CertDeleteCRLFromStore
(
PCCRL_CONTEXT
pCrlContext
);
BOOL
WINAPI
CertDeleteCRLFromStore
(
PCCRL_CONTEXT
pCrlContext
);
...
...
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