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
6d3b14b5
Commit
6d3b14b5
authored
May 12, 2003
by
Mike McCormack
Committed by
Alexandre Julliard
May 12, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added stubs for CertSaveStore and CertEnumCertificatesInStore.
parent
130e2179
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
58 additions
and
2 deletions
+58
-2
crypt32.spec
dlls/crypt32/crypt32.spec
+2
-2
main.c
dlls/crypt32/main.c
+14
-0
wincrypt.h
include/wincrypt.h
+42
-0
No files found.
dlls/crypt32/crypt32.spec
View file @
6d3b14b5
...
...
@@ -31,7 +31,7 @@
@ stub CertEnumCTLContextProperties
@ stub CertEnumCTLsInStore
@ stub CertEnumCertificateContextProperties
@ st
ub CertEnumCertificatesInStore
@ st
dcall CertEnumCertificatesInStore(long ptr)
@ stub CertFindAttribute
@ stub CertFindCTLInStore
@ stub CertFindCertificateInStore
...
...
@@ -63,7 +63,7 @@
@ stub CertRDNValueToStrA
@ stub CertRDNValueToStrW
@ stub CertRemoveEnhancedKeyUsageIdentifier
@ st
ub CertSaveStore
@ st
dcall CertSaveStore(long long long long ptr long)
@ stub CertSerializeCRLStoreElement
@ stub CertSerializeCTLStoreElement
@ stub CertSerializeCertificateStoreElement
...
...
dlls/crypt32/main.c
View file @
6d3b14b5
...
...
@@ -112,3 +112,17 @@ BOOL WINAPI CryptRegisterOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName,
debugstr_w
(
pwszDll
),
pszOverrideFuncName
);
return
FALSE
;
}
PCCERT_CONTEXT
WINAPI
CertEnumCertificatesInStore
(
HCERTSTORE
hCertStore
,
PCCERT_CONTEXT
pPrev
)
{
FIXME
(
"(%p,%p)
\n
"
,
hCertStore
,
pPrev
);
return
NULL
;
}
BOOL
WINAPI
CertSaveStore
(
HCERTSTORE
hCertStore
,
DWORD
dwMsgAndCertEncodingType
,
DWORD
dwSaveAs
,
DWORD
dwSaveTo
,
void
*
pvSaveToPara
,
DWORD
dwFlags
)
{
FIXME
(
"(%p,%ld,%ld,%ld,%p,%08lx) stub!
\n
"
,
hCertStore
,
dwMsgAndCertEncodingType
,
dwSaveAs
,
dwSaveTo
,
pvSaveToPara
,
dwFlags
);
return
TRUE
;
}
include/wincrypt.h
View file @
6d3b14b5
...
...
@@ -26,6 +26,7 @@ typedef unsigned int ALG_ID;
typedef
unsigned
long
HCRYPTPROV
;
typedef
unsigned
long
HCRYPTKEY
;
typedef
unsigned
long
HCRYPTHASH
;
typedef
void
*
HCERTSTORE
;
/* CSP Structs */
...
...
@@ -63,6 +64,47 @@ typedef struct _PUBLICKEYSTRUC {
ALG_ID
aiKeyAlg
;
}
BLOBHEADER
,
PUBLICKEYSTRUC
;
typedef
struct
_CRYPT_BIT_BLOB
{
DWORD
cbData
;
BYTE
*
pbData
;
DWORD
cUnusedBits
;
}
CRYPT_BIT_BLOB
,
*
PCRYPT_BIT_BLOB
;
typedef
struct
_CERT_PUBLIC_KEY_INFO
{
CRYPT_ALGORITHM_IDENTIFIER
Algorithm
;
CRYPT_BIT_BLOB
PublicKey
;
}
CERT_PUBLIC_KEY_INFO
,
*
PCERT_PUBLIC_KEY_INFO
;
typedef
struct
_CERT_EXTENSION
{
LPSTR
pszObjId
;
BOOL
fCritical
;
CRYPT_OBJID_BLOB
Value
;
}
CERT_EXTENSION
,
*
PCERT_EXTENSION
;
typedef
struct
_CERT_INFO
{
DWORD
dwVersion
;
CRYPT_INTEGER_BLOB
SerialNumber
;
CRYPT_ALGORITHM_IDENTIFIER
SignatureAlgorithm
;
CERT_NAME_BLOB
Issuer
;
FILETIME
NotBefore
;
FILETIME
NotAfter
;
CERT_NAME_BLOB
Subject
;
CERT_PUBLIC_KEY_INFO
SubjectPublicKeyInfo
;
CRYPT_BIT_BLOB
IssuerUniqueId
;
CRYPT_BIT_BLOB
SubjectUniqueId
;
DWORD
cExtension
;
PCERT_EXTENSION
rgExtension
;
}
CERT_INFO
,
*
PCERT_INFO
;
typedef
struct
_CERT_CONTEXT
{
DWORD
dwCertEncodingType
;
BYTE
*
pbCertEncoded
;
DWORD
cbCertEncoded
;
PCERT_INFO
pCertInfo
;
HCERTSTORE
hCertStore
;
}
CERT_CONTEXT
,
*
PCERT_CONTEXT
;
typedef
const
CERT_CONTEXT
*
PCCERT_CONTEXT
;
/* Algorithm IDs */
#define GET_ALG_CLASS(x) (x & (7 << 13))
...
...
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