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
390d5028
Commit
390d5028
authored
Aug 26, 2005
by
Juan Lang
Committed by
Alexandre Julliard
Aug 26, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a bunch of stubs.
parent
6ccccb71
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
247 additions
and
26 deletions
+247
-26
cert.c
dlls/crypt32/cert.c
+219
-0
crypt32.spec
dlls/crypt32/crypt32.spec
+28
-26
No files found.
dlls/crypt32/cert.c
View file @
390d5028
...
...
@@ -103,6 +103,21 @@ BOOL WINAPI CertSaveStore(HCERTSTORE hCertStore, DWORD dwMsgAndCertEncodingType,
return
TRUE
;
}
PCCERT_CONTEXT
WINAPI
CertCreateCertificateContext
(
DWORD
dwCertEncodingType
,
const
BYTE
*
pbCertEncoded
,
DWORD
cbCertEncoded
)
{
FIXME
(
"(%08lx, %p, %ld): stub
\n
"
,
dwCertEncodingType
,
pbCertEncoded
,
cbCertEncoded
);
return
NULL
;
}
PCCERT_CONTEXT
WINAPI
CertDuplicateCertificateContext
(
PCCERT_CONTEXT
pCertContext
)
{
FIXME
(
"(%p): stub
\n
"
,
pCertContext
);
return
NULL
;
}
PCCRL_CONTEXT
WINAPI
CertCreateCRLContext
(
DWORD
dwCertEncodingType
,
const
BYTE
*
pbCrlEncoded
,
DWORD
cbCrlEncoded
)
{
...
...
@@ -111,6 +126,7 @@ PCCRL_CONTEXT WINAPI CertCreateCRLContext( DWORD dwCertEncodingType,
TRACE
(
"%08lx %p %08lx
\n
"
,
dwCertEncodingType
,
pbCrlEncoded
,
cbCrlEncoded
);
/* FIXME: semi-stub, need to use CryptDecodeObjectEx to decode the CRL. */
pcrl
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
CRL_CONTEXT
)
);
if
(
!
pcrl
)
return
NULL
;
...
...
@@ -131,6 +147,41 @@ PCCRL_CONTEXT WINAPI CertCreateCRLContext( DWORD dwCertEncodingType,
return
pcrl
;
}
BOOL
WINAPI
CertAddEncodedCertificateToStore
(
HCERTSTORE
hCertStore
,
DWORD
dwCertEncodingType
,
const
BYTE
*
pbCertEncoded
,
DWORD
cbCertEncoded
,
DWORD
dwAddDisposition
,
PCCERT_CONTEXT
*
ppCertContext
)
{
FIXME
(
"(%p, %08lx, %p, %ld, %08lx, %p): stub
\n
"
,
hCertStore
,
dwCertEncodingType
,
pbCertEncoded
,
cbCertEncoded
,
dwAddDisposition
,
ppCertContext
);
return
FALSE
;
}
BOOL
WINAPI
CertAddCertificateContextToStore
(
HCERTSTORE
hCertStore
,
PCCERT_CONTEXT
pCertContext
,
DWORD
dwAddDisposition
,
PCCERT_CONTEXT
*
ppStoreContext
)
{
FIXME
(
"(%p, %p, %08lx, %p): stub
\n
"
,
hCertStore
,
pCertContext
,
dwAddDisposition
,
ppStoreContext
);
return
FALSE
;
}
BOOL
WINAPI
CertDeleteCertificateFromStore
(
PCCERT_CONTEXT
pCertContext
)
{
FIXME
(
"(%p): stub
\n
"
,
pCertContext
);
return
FALSE
;
}
BOOL
WINAPI
CertAddEncodedCRLToStore
(
HCERTSTORE
hCertStore
,
DWORD
dwCertEncodingType
,
const
BYTE
*
pbCrlEncoded
,
DWORD
cbCrlEncoded
,
DWORD
dwAddDisposition
,
PCCRL_CONTEXT
*
ppCrlContext
)
{
FIXME
(
"(%p, %08lx, %p, %ld, %08lx, %p): stub
\n
"
,
hCertStore
,
dwCertEncodingType
,
pbCrlEncoded
,
cbCrlEncoded
,
dwAddDisposition
,
ppCrlContext
);
return
FALSE
;
}
BOOL
WINAPI
CertAddCRLContextToStore
(
HCERTSTORE
hCertStore
,
PCCRL_CONTEXT
pCrlContext
,
DWORD
dwAddDisposition
,
PCCRL_CONTEXT
*
ppStoreContext
)
...
...
@@ -147,6 +198,66 @@ BOOL WINAPI CertFreeCRLContext( PCCRL_CONTEXT pCrlContext)
return
TRUE
;
}
BOOL
WINAPI
CertDeleteCRLFromStore
(
PCCRL_CONTEXT
pCrlContext
)
{
FIXME
(
"(%p): stub
\n
"
,
pCrlContext
);
return
TRUE
;
}
PCCRL_CONTEXT
WINAPI
CertEnumCRLsInStore
(
HCERTSTORE
hCertStore
,
PCCRL_CONTEXT
pPrev
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
hCertStore
,
pPrev
);
return
NULL
;
}
PCCTL_CONTEXT
WINAPI
CertCreateCTLContext
(
DWORD
dwCertEncodingType
,
const
BYTE
*
pbCtlEncoded
,
DWORD
cbCtlEncoded
)
{
FIXME
(
"(%08lx, %p, %08lx): stub
\n
"
,
dwCertEncodingType
,
pbCtlEncoded
,
cbCtlEncoded
);
return
NULL
;
}
BOOL
WINAPI
CertAddEncodedCTLToStore
(
HCERTSTORE
hCertStore
,
DWORD
dwMsgAndCertEncodingType
,
const
BYTE
*
pbCtlEncoded
,
DWORD
cbCtlEncoded
,
DWORD
dwAddDisposition
,
PCCTL_CONTEXT
*
ppCtlContext
)
{
FIXME
(
"(%p, %08lx, %p, %ld, %08lx, %p): stub
\n
"
,
hCertStore
,
dwMsgAndCertEncodingType
,
pbCtlEncoded
,
cbCtlEncoded
,
dwAddDisposition
,
ppCtlContext
);
return
FALSE
;
}
BOOL
WINAPI
CertAddCTLContextToStore
(
HCERTSTORE
hCertStore
,
PCCTL_CONTEXT
pCtlContext
,
DWORD
dwAddDisposition
,
PCCTL_CONTEXT
*
ppStoreContext
)
{
FIXME
(
"(%p, %p, %08lx, %p): stub
\n
"
,
hCertStore
,
pCtlContext
,
dwAddDisposition
,
ppStoreContext
);
return
TRUE
;
}
BOOL
WINAPI
CertFreeCTLContext
(
PCCTL_CONTEXT
pCtlContext
)
{
FIXME
(
"(%p): stub
\n
"
,
pCtlContext
);
return
TRUE
;
}
BOOL
WINAPI
CertDeleteCTLFromStore
(
PCCTL_CONTEXT
pCtlContext
)
{
FIXME
(
"(%p): stub
\n
"
,
pCtlContext
);
return
TRUE
;
}
PCCTL_CONTEXT
WINAPI
CertEnumCTLsInStore
(
HCERTSTORE
hCertStore
,
PCCTL_CONTEXT
pPrev
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
hCertStore
,
pPrev
);
return
NULL
;
}
BOOL
WINAPI
CertCloseStore
(
HCERTSTORE
hCertStore
,
DWORD
dwFlags
)
{
WINECRYPT_CERTSTORE
*
hcs
=
(
WINECRYPT_CERTSTORE
*
)
hCertStore
;
...
...
@@ -164,6 +275,100 @@ BOOL WINAPI CertCloseStore( HCERTSTORE hCertStore, DWORD dwFlags )
return
TRUE
;
}
BOOL
WINAPI
CertControlStore
(
HCERTSTORE
hCertStore
,
DWORD
dwFlags
,
DWORD
dwCtrlType
,
void
const
*
pvCtrlPara
)
{
FIXME
(
"(%p, %08lx, %ld, %p): stub
\n
"
,
hCertStore
,
dwFlags
,
dwCtrlType
,
pvCtrlPara
);
return
TRUE
;
}
DWORD
WINAPI
CertEnumCertificateContextProperties
(
PCCERT_CONTEXT
pCertContext
,
DWORD
dwPropId
)
{
FIXME
(
"(%p, %ld): stub
\n
"
,
pCertContext
,
dwPropId
);
return
0
;
}
BOOL
WINAPI
CertGetCertificateContextProperty
(
PCCERT_CONTEXT
pCertContext
,
DWORD
dwPropId
,
void
*
pvData
,
DWORD
*
pcbData
)
{
FIXME
(
"(%p, %ld, %p, %p): stub
\n
"
,
pCertContext
,
dwPropId
,
pvData
,
pcbData
);
return
FALSE
;
}
BOOL
WINAPI
CertSetCertificateContextProperty
(
PCCERT_CONTEXT
pCertContext
,
DWORD
dwPropId
,
DWORD
dwFlags
,
const
void
*
pvData
)
{
FIXME
(
"(%p, %ld, %08lx, %p): stub
\n
"
,
pCertContext
,
dwPropId
,
dwFlags
,
pvData
);
return
FALSE
;
}
BOOL
WINAPI
CertGetCRLContextProperty
(
PCCRL_CONTEXT
pCRLContext
,
DWORD
dwPropId
,
void
*
pvData
,
DWORD
*
pcbData
)
{
FIXME
(
"(%p, %ld, %p, %p): stub
\n
"
,
pCRLContext
,
dwPropId
,
pvData
,
pcbData
);
return
FALSE
;
}
BOOL
WINAPI
CertSetCRLContextProperty
(
PCCRL_CONTEXT
pCRLContext
,
DWORD
dwPropId
,
DWORD
dwFlags
,
const
void
*
pvData
)
{
FIXME
(
"(%p, %ld, %08lx, %p): stub
\n
"
,
pCRLContext
,
dwPropId
,
dwFlags
,
pvData
);
return
FALSE
;
}
BOOL
WINAPI
CertSerializeCRLStoreElement
(
PCCRL_CONTEXT
pCrlContext
,
DWORD
dwFlags
,
BYTE
*
pbElement
,
DWORD
*
pcbElement
)
{
FIXME
(
"(%p, %08lx, %p, %p): stub
\n
"
,
pCrlContext
,
dwFlags
,
pbElement
,
pcbElement
);
return
FALSE
;
}
BOOL
WINAPI
CertGetCTLContextProperty
(
PCCTL_CONTEXT
pCTLContext
,
DWORD
dwPropId
,
void
*
pvData
,
DWORD
*
pcbData
)
{
FIXME
(
"(%p, %ld, %p, %p): stub
\n
"
,
pCTLContext
,
dwPropId
,
pvData
,
pcbData
);
return
FALSE
;
}
BOOL
WINAPI
CertSetCTLContextProperty
(
PCCTL_CONTEXT
pCTLContext
,
DWORD
dwPropId
,
DWORD
dwFlags
,
const
void
*
pvData
)
{
FIXME
(
"(%p, %ld, %08lx, %p): stub
\n
"
,
pCTLContext
,
dwPropId
,
dwFlags
,
pvData
);
return
FALSE
;
}
BOOL
WINAPI
CertSerializeCTLStoreElement
(
PCCTL_CONTEXT
pCtlContext
,
DWORD
dwFlags
,
BYTE
*
pbElement
,
DWORD
*
pcbElement
)
{
FIXME
(
"(%p, %08lx, %p, %p): stub
\n
"
,
pCtlContext
,
dwFlags
,
pbElement
,
pcbElement
);
return
FALSE
;
}
BOOL
WINAPI
CertSerializeCertificateStoreElement
(
PCCERT_CONTEXT
pCertContext
,
DWORD
dwFlags
,
BYTE
*
pbElement
,
DWORD
*
pcbElement
)
{
FIXME
(
"(%p, %08lx, %p, %p): stub
\n
"
,
pCertContext
,
dwFlags
,
pbElement
,
pcbElement
);
return
FALSE
;
}
BOOL
WINAPI
CertAddSerializedElementToStore
(
HCERTSTORE
hCertStore
,
const
BYTE
*
pbElement
,
DWORD
cbElement
,
DWORD
dwAddDisposition
,
DWORD
dwFlags
,
DWORD
dwContextTypeFlags
,
DWORD
*
pdwContentType
,
const
void
**
ppvContext
)
{
FIXME
(
"(%p, %p, %ld, %08lx, %08lx, %08lx, %p, %p): stub
\n
"
,
hCertStore
,
pbElement
,
cbElement
,
dwAddDisposition
,
dwFlags
,
dwContextTypeFlags
,
pdwContentType
,
ppvContext
);
return
FALSE
;
}
BOOL
WINAPI
CertFreeCertificateContext
(
PCCERT_CONTEXT
pCertContext
)
{
FIXME
(
"%p stub
\n
"
,
pCertContext
);
...
...
@@ -180,6 +385,20 @@ PCCERT_CONTEXT WINAPI CertFindCertificateInStore(HCERTSTORE hCertStore,
return
NULL
;
}
BOOL
WINAPI
CertAddStoreToCollection
(
HCERTSTORE
hCollectionStore
,
HCERTSTORE
hSiblingStore
,
DWORD
dwUpdateFlags
,
DWORD
dwPriority
)
{
FIXME
(
"(%p, %p, %08lx, %ld): stub
\n
"
,
hCollectionStore
,
hSiblingStore
,
dwUpdateFlags
,
dwPriority
);
return
TRUE
;
}
void
WINAPI
CertRemoveStoreFromCollection
(
HCERTSTORE
hCollectionStore
,
HCERTSTORE
hSiblingStore
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
hCollectionStore
,
hSiblingStore
);
}
PCRYPT_ATTRIBUTE
WINAPI
CertFindAttribute
(
LPCSTR
pszObjId
,
DWORD
cAttr
,
CRYPT_ATTRIBUTE
rgAttr
[])
{
...
...
dlls/crypt32/crypt32.spec
View file @
390d5028
@ stdcall CertAddCRLContextToStore(long ptr long ptr)
@ st
ub CertAddCTLContextToStore
@ st
ub CertAddCertificateContextToStore
@ st
ub CertAddEncodedCRLToStore
@ st
ub CertAddEncodedCTLToStore
@ st
ub CertAddEncodedCertificateToStore
@ st
dcall CertAddCTLContextToStore(long ptr long ptr)
@ st
dcall CertAddCertificateContextToStore(long ptr long ptr)
@ st
dcall CertAddEncodedCRLToStore(long long ptr long long ptr)
@ st
dcall CertAddEncodedCTLToStore(long long ptr long long ptr)
@ st
dcall CertAddEncodedCertificateToStore(long long ptr long long ptr)
@ stub CertAddEncodedCertificateToSystemStoreA
@ stub CertAddEncodedCertificateToSystemStoreW
@ stub CertAddEnhancedKeyUsageIdentifier
@ st
ub CertAddSerializedElementToStore
@ st
ub CertAddStoreToCollection
@ st
dcall CertAddSerializedElementToStore(ptr ptr long long long long ptr ptr)
@ st
dcall CertAddStoreToCollection(ptr ptr long long)
@ stdcall CertAlgIdToOID(long)
@ stdcall CertCloseStore(ptr long)
@ stub CertCompareCertificate
@ stub CertCompareCertificateName
@ stub CertCompareIntegerBlob
@ stub CertComparePublicKeyInfo
@ st
ub CertControlStore
@ st
dcall CertControlStore(long long long ptr)
@ stdcall CertCreateCRLContext(long ptr long)
@ st
ub CertCreateCTLContext
@ st
dcall CertCreateCTLContext(long ptr long)
@ stub CertCreateCertificateChainEngine
@ st
ub CertCreateCertificateContext
@ st
ub CertDeleteCRLFromStore
@ st
ub CertDeleteCTLFromStore
@ st
ub CertDeleteCertificateFromStore
@ st
dcall CertCreateCertificateContext(long ptr long)
@ st
dcall CertDeleteCRLFromStore(ptr)
@ st
dcall CertDeleteCTLFromStore(ptr)
@ st
dcall CertDeleteCertificateFromStore(ptr)
@ stub CertDuplicateCRLContext
@ stub CertDuplicateCTLContext
@ st
ub CertDuplicateCertificateContext
@ st
dcall CertDuplicateCertificateContext(ptr)
@ stub CertDuplicateStore
@ stub CertEnumCRLContextProperties
@ stdcall CertEnumCRLsInStore(ptr ptr)
@ stub CertEnumCTLContextProperties
@ st
ub CertEnumCTLsInStore
@ st
ub CertEnumCertificateContextProperties
@ st
dcall CertEnumCTLsInStore(ptr ptr)
@ st
dcall CertEnumCertificateContextProperties(ptr long)
@ stdcall CertEnumCertificatesInStore(long ptr)
@ stdcall CertFindAttribute(str long ptr)
@ stub CertFindCTLInStore
...
...
@@ -39,15 +40,15 @@
@ stdcall CertFindRDNAttr(str ptr)
@ stub CertFindSubjectInCTL
@ stdcall CertFreeCRLContext(ptr)
@ st
ub CertFreeCTLContext
@ st
dcall CertFreeCTLContext(ptr)
@ stub CertFreeCertificateChain
@ stub CertFreeCertificateChainEngine
@ stdcall CertFreeCertificateContext(ptr)
@ st
ub CertGetCRLContextProperty
@ st
dcall CertGetCRLContextProperty(ptr long ptr ptr)
@ stub CertGetCRLFromStore
@ st
ub CertGetCTLContextProperty
@ st
dcall CertGetCTLContextProperty(ptr long ptr ptr)
@ stub CertGetCertificateChain
@ st
ub CertGetCertificateContextProperty
@ st
dcall CertGetCertificateContextProperty(ptr long ptr ptr)
@ stub CertGetEnhancedKeyUsage
@ stub CertGetIntendedKeyUsage
@ stub CertGetIssuerCertificateFromStore
...
...
@@ -63,13 +64,14 @@
@ stub CertRDNValueToStrA
@ stub CertRDNValueToStrW
@ stub CertRemoveEnhancedKeyUsageIdentifier
@ stdcall CertRemoveStoreFromCollection(long long)
@ stdcall CertSaveStore(long long long long ptr long)
@ st
ub CertSerializeCRLStoreElement
@ st
ub CertSerializeCTLStoreElement
@ st
ub CertSerializeCertificateStoreElement
@ st
ub CertSetCRLContextProperty
@ st
ub CertSetCTLContextProperty
@ st
ub CertSetCertificateContextProperty
@ st
dcall CertSerializeCRLStoreElement(ptr long ptr ptr)
@ st
dcall CertSerializeCTLStoreElement(ptr long ptr ptr)
@ st
dcall CertSerializeCertificateStoreElement(ptr long ptr ptr)
@ st
dcall CertSetCRLContextProperty(ptr long long ptr)
@ st
dcall CertSetCTLContextProperty(ptr long long ptr)
@ st
dcall CertSetCertificateContextProperty(ptr long long ptr)
@ stub CertSetEnhancedKeyUsage
@ stub CertStrToNameA
@ stub CertStrToNameW
...
...
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