Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

863 lines
16 KiB

  1. #include "dspch.h"
  2. #pragma hdrstop
  3. #define _CRYPT32_
  4. #include <wincrypt.h>
  5. static
  6. WINCRYPT32API
  7. BOOL
  8. WINAPI
  9. CertAddCertificateContextToStore(
  10. IN HCERTSTORE hCertStore,
  11. IN PCCERT_CONTEXT pCertContext,
  12. IN DWORD dwAddDisposition,
  13. OUT OPTIONAL PCCERT_CONTEXT *ppStoreContext
  14. )
  15. {
  16. SetLastError(ERROR_PROC_NOT_FOUND);
  17. return FALSE;
  18. }
  19. static
  20. WINCRYPT32API
  21. BOOL
  22. WINAPI
  23. CertCloseStore(
  24. IN HCERTSTORE hCertStore,
  25. DWORD dwFlags
  26. )
  27. {
  28. SetLastError(ERROR_PROC_NOT_FOUND);
  29. return FALSE;
  30. }
  31. static
  32. WINCRYPT32API
  33. BOOL
  34. WINAPI
  35. CertCompareCertificateName(
  36. IN DWORD dwCertEncodingType,
  37. IN PCERT_NAME_BLOB pCertName1,
  38. IN PCERT_NAME_BLOB pCertName2
  39. )
  40. {
  41. SetLastError(ERROR_PROC_NOT_FOUND);
  42. return FALSE;
  43. }
  44. static
  45. WINCRYPT32API
  46. BOOL
  47. WINAPI
  48. CertControlStore(
  49. IN HCERTSTORE hCertStore,
  50. IN DWORD dwFlags,
  51. IN DWORD dwCtrlType,
  52. IN void const *pvCtrlPara
  53. )
  54. {
  55. SetLastError(ERROR_PROC_NOT_FOUND);
  56. return FALSE;
  57. }
  58. static
  59. WINCRYPT32API
  60. PCCERT_CONTEXT
  61. WINAPI
  62. CertCreateCertificateContext(
  63. IN DWORD dwCertEncodingType,
  64. IN const BYTE *pbCertEncoded,
  65. IN DWORD cbCertEncoded
  66. )
  67. {
  68. SetLastError(ERROR_PROC_NOT_FOUND);
  69. return NULL;
  70. }
  71. static
  72. WINCRYPT32API
  73. PCCTL_CONTEXT
  74. WINAPI
  75. CertCreateCTLContext(
  76. DWORD dwMsgAndCertEncodingType,
  77. const BYTE *pbCtlEncoded,
  78. DWORD cbCtlEncoded
  79. )
  80. {
  81. SetLastError(ERROR_PROC_NOT_FOUND);
  82. return NULL;
  83. }
  84. static
  85. WINCRYPT32API
  86. BOOL
  87. WINAPI
  88. CertDeleteCertificateFromStore(
  89. IN PCCERT_CONTEXT pCertContext
  90. )
  91. {
  92. SetLastError(ERROR_PROC_NOT_FOUND);
  93. return FALSE;
  94. }
  95. static
  96. WINCRYPT32API
  97. PCCERT_CONTEXT
  98. WINAPI
  99. CertDuplicateCertificateContext(
  100. IN PCCERT_CONTEXT pCertContext
  101. )
  102. {
  103. SetLastError(ERROR_PROC_NOT_FOUND);
  104. return FALSE;
  105. }
  106. static
  107. WINCRYPT32API
  108. PCCTL_CONTEXT
  109. WINAPI
  110. CertDuplicateCTLContext(
  111. IN PCCTL_CONTEXT pCtlContext
  112. )
  113. {
  114. SetLastError(ERROR_PROC_NOT_FOUND);
  115. return FALSE;
  116. }
  117. static
  118. WINCRYPT32API
  119. PCCERT_CONTEXT
  120. WINAPI
  121. CertEnumCertificatesInStore(
  122. IN HCERTSTORE hCertStore,
  123. IN PCCERT_CONTEXT pPrevCertContext
  124. )
  125. {
  126. SetLastError(ERROR_PROC_NOT_FOUND);
  127. return NULL;
  128. }
  129. static
  130. WINCRYPT32API
  131. BOOL
  132. WINAPI
  133. CertFreeCertificateContext (
  134. IN PCCERT_CONTEXT pCertContext
  135. )
  136. {
  137. SetLastError(ERROR_PROC_NOT_FOUND);
  138. return FALSE;
  139. }
  140. static
  141. WINCRYPT32API
  142. PCCERT_CONTEXT
  143. WINAPI
  144. CertFindCertificateInStore(
  145. IN HCERTSTORE hCertStore,
  146. IN DWORD dwCertEncodingType,
  147. IN DWORD dwFindFlags,
  148. IN DWORD dwFindType,
  149. IN const void *pvFindPara,
  150. IN PCCERT_CONTEXT pPrevCertContext
  151. )
  152. {
  153. SetLastError(ERROR_PROC_NOT_FOUND);
  154. return NULL;
  155. }
  156. static
  157. WINCRYPT32API
  158. PCCTL_CONTEXT
  159. WINAPI
  160. CertFindCTLInStore(
  161. IN HCERTSTORE hCertStore,
  162. IN DWORD dwMsgAndCertEncodingType,
  163. IN DWORD dwFindFlags,
  164. IN DWORD dwFindType,
  165. IN const void *pvFindPara,
  166. IN PCCTL_CONTEXT pPrevCtlContext
  167. )
  168. {
  169. SetLastError(ERROR_PROC_NOT_FOUND);
  170. return NULL;
  171. }
  172. static
  173. WINCRYPT32API
  174. PCERT_EXTENSION
  175. WINAPI
  176. CertFindExtension(
  177. IN LPCSTR pszObjId,
  178. IN DWORD cExtensions,
  179. IN CERT_EXTENSION rgExtensions[]
  180. )
  181. {
  182. SetLastError(ERROR_PROC_NOT_FOUND);
  183. return NULL;
  184. }
  185. static
  186. WINCRYPT32API
  187. PCTL_ENTRY
  188. WINAPI
  189. CertFindSubjectInCTL(
  190. DWORD dwEncodingType,
  191. DWORD dwSubjectType,
  192. void *pvSubject,
  193. PCCTL_CONTEXT pCtlContext,
  194. DWORD dwFlags
  195. )
  196. {
  197. SetLastError(ERROR_PROC_NOT_FOUND);
  198. return FALSE;
  199. }
  200. static
  201. WINCRYPT32API
  202. VOID
  203. WINAPI
  204. CertFreeCertificateChain (
  205. IN PCCERT_CHAIN_CONTEXT pChainContext
  206. )
  207. {
  208. NOTHING;
  209. }
  210. static
  211. WINCRYPT32API
  212. BOOL
  213. WINAPI
  214. CertFreeCTLContext(
  215. IN PCCTL_CONTEXT pCtlContext
  216. )
  217. {
  218. SetLastError(ERROR_PROC_NOT_FOUND);
  219. return FALSE;
  220. }
  221. static
  222. WINCRYPT32API
  223. BOOL
  224. WINAPI
  225. CertGetCertificateChain (
  226. IN OPTIONAL HCERTCHAINENGINE hChainEngine,
  227. IN PCCERT_CONTEXT pCertContext,
  228. IN OPTIONAL LPFILETIME pTime,
  229. IN OPTIONAL HCERTSTORE hAdditionalStore,
  230. IN PCERT_CHAIN_PARA pChainPara,
  231. IN DWORD dwFlags,
  232. IN LPVOID pvReserved,
  233. OUT PCCERT_CHAIN_CONTEXT* ppChainContext
  234. )
  235. {
  236. SetLastError(ERROR_PROC_NOT_FOUND);
  237. return FALSE;
  238. }
  239. static
  240. WINCRYPT32API
  241. BOOL
  242. WINAPI
  243. CertGetCertificateContextProperty(
  244. IN PCCERT_CONTEXT pCertContext,
  245. IN DWORD dwPropId,
  246. OUT void *pvData,
  247. IN OUT DWORD *pcbData
  248. )
  249. {
  250. SetLastError(ERROR_PROC_NOT_FOUND);
  251. return FALSE;
  252. }
  253. static
  254. WINCRYPT32API
  255. BOOL
  256. WINAPI
  257. CertGetEnhancedKeyUsage (
  258. IN PCCERT_CONTEXT pCertContext,
  259. IN DWORD dwFlags,
  260. OUT PCERT_ENHKEY_USAGE pUsage,
  261. IN OUT DWORD* pcbUsage
  262. )
  263. {
  264. SetLastError(ERROR_PROC_NOT_FOUND);
  265. return FALSE;
  266. }
  267. static
  268. WINCRYPT32API
  269. PCCERT_CONTEXT
  270. WINAPI
  271. CertGetIssuerCertificateFromStore(
  272. IN HCERTSTORE hCertStore,
  273. IN PCCERT_CONTEXT pSubjectContext,
  274. IN OPTIONAL PCCERT_CONTEXT pPrevIssuerContext,
  275. IN OUT DWORD *pdwFlags
  276. )
  277. {
  278. SetLastError(ERROR_PROC_NOT_FOUND);
  279. return NULL;
  280. }
  281. static
  282. WINCRYPT32API
  283. DWORD
  284. WINAPI
  285. CertGetPublicKeyLength(
  286. DWORD dwCertEncodingType,
  287. PCERT_PUBLIC_KEY_INFO pPublicKey
  288. )
  289. {
  290. SetLastError(ERROR_PROC_NOT_FOUND);
  291. return 0;
  292. }
  293. static
  294. WINCRYPT32API
  295. DWORD
  296. WINAPI
  297. CertNameToStrW(
  298. IN DWORD dwCertEncodingType,
  299. IN PCERT_NAME_BLOB pName,
  300. IN DWORD dwStrType,
  301. OUT OPTIONAL LPWSTR psz,
  302. IN DWORD csz
  303. )
  304. {
  305. SetLastError(ERROR_PROC_NOT_FOUND);
  306. return FALSE;
  307. }
  308. static
  309. WINCRYPT32API
  310. HCERTSTORE
  311. WINAPI
  312. CertOpenStore(
  313. IN LPCSTR lpszStoreProvider,
  314. IN DWORD dwEncodingType,
  315. IN HCRYPTPROV hCryptProv,
  316. IN DWORD dwFlags,
  317. IN const void *pvPara
  318. )
  319. {
  320. SetLastError(ERROR_PROC_NOT_FOUND);
  321. return NULL;
  322. }
  323. static
  324. WINCRYPT32API
  325. HCERTSTORE
  326. WINAPI
  327. CertOpenSystemStoreW(
  328. HCRYPTPROV hProv,
  329. const WCHAR * wcsSubsystemProtocol
  330. )
  331. {
  332. SetLastError(ERROR_PROC_NOT_FOUND);
  333. return NULL;
  334. }
  335. static
  336. WINCRYPT32API
  337. BOOL
  338. WINAPI
  339. CertRegisterPhysicalStore(
  340. IN const void *pvSystemStore,
  341. IN DWORD dwFlags,
  342. IN LPCWSTR pwszStoreName,
  343. IN PCERT_PHYSICAL_STORE_INFO pStoreInfo,
  344. IN OPTIONAL void *pvReserved
  345. )
  346. {
  347. SetLastError(ERROR_PROC_NOT_FOUND);
  348. return FALSE;
  349. }
  350. static
  351. WINCRYPT32API
  352. DWORD
  353. WINAPI
  354. CertRDNValueToStrW(
  355. IN DWORD dwValueType,
  356. IN PCERT_RDN_VALUE_BLOB pValue,
  357. OUT OPTIONAL LPWSTR psz,
  358. IN DWORD csz
  359. )
  360. {
  361. SetLastError(ERROR_PROC_NOT_FOUND);
  362. return 0;
  363. }
  364. static
  365. WINCRYPT32API
  366. BOOL
  367. WINAPI
  368. CertSetCertificateContextProperty(
  369. IN PCCERT_CONTEXT pCertContext,
  370. IN DWORD dwPropId,
  371. IN DWORD dwFlags,
  372. IN const void *pvData
  373. )
  374. {
  375. SetLastError(ERROR_PROC_NOT_FOUND);
  376. return FALSE;
  377. }
  378. static
  379. WINCRYPT32API
  380. BOOL
  381. WINAPI
  382. CertStrToNameW(
  383. IN DWORD dwCertEncodingType,
  384. IN LPCWSTR pszX500,
  385. IN DWORD dwStrType,
  386. IN OPTIONAL void *pvReserved,
  387. OUT BYTE *pbEncoded,
  388. IN OUT DWORD *pcbEncoded,
  389. OUT OPTIONAL LPCWSTR *ppszError
  390. )
  391. {
  392. SetLastError(ERROR_PROC_NOT_FOUND);
  393. return FALSE;
  394. }
  395. static
  396. WINCRYPT32API
  397. BOOL
  398. WINAPI
  399. CertVerifyCertificateChainPolicy(
  400. IN LPCSTR pszPolicyOID,
  401. IN PCCERT_CHAIN_CONTEXT pChainContext,
  402. IN PCERT_CHAIN_POLICY_PARA pPolicyPara,
  403. IN OUT PCERT_CHAIN_POLICY_STATUS pPolicyStatus
  404. )
  405. {
  406. SetLastError(ERROR_PROC_NOT_FOUND);
  407. return FALSE;
  408. }
  409. static
  410. WINCRYPT32API
  411. BOOL
  412. WINAPI
  413. CertVerifySubjectCertificateContext(
  414. IN PCCERT_CONTEXT pSubject,
  415. IN OPTIONAL PCCERT_CONTEXT pIssuer,
  416. IN OUT DWORD *pdwFlags
  417. )
  418. {
  419. SetLastError(ERROR_PROC_NOT_FOUND);
  420. return FALSE;
  421. }
  422. static
  423. WINCRYPT32API
  424. BOOL
  425. WINAPI
  426. CryptDecodeObject(
  427. IN DWORD dwCertEncodingType,
  428. IN LPCSTR lpszStructType,
  429. IN const BYTE *pbEncoded,
  430. IN DWORD cbEncoded,
  431. IN DWORD dwFlags,
  432. OUT void *pvStructInfo,
  433. IN OUT DWORD *pcbStructInfo
  434. )
  435. {
  436. SetLastError(ERROR_PROC_NOT_FOUND);
  437. return FALSE;
  438. }
  439. static
  440. WINCRYPT32API
  441. BOOL
  442. WINAPI
  443. CryptDecodeObjectEx(
  444. IN DWORD dwCertEncodingType,
  445. IN LPCSTR lpszStructType,
  446. IN const BYTE *pbEncoded,
  447. IN DWORD cbEncoded,
  448. IN DWORD dwFlags,
  449. IN OPTIONAL PCRYPT_DECODE_PARA pDecodePara,
  450. OUT OPTIONAL void *pvStructInfo,
  451. IN OUT DWORD *pcbStructInfo
  452. )
  453. {
  454. SetLastError(ERROR_PROC_NOT_FOUND);
  455. return FALSE;
  456. }
  457. static
  458. WINCRYPT32API
  459. BOOL
  460. WINAPI
  461. CryptDecryptMessage(
  462. IN PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,
  463. IN const BYTE *pbEncryptedBlob,
  464. IN DWORD cbEncryptedBlob,
  465. OUT OPTIONAL BYTE *pbDecrypted,
  466. IN OUT OPTIONAL DWORD *pcbDecrypted,
  467. OUT OPTIONAL PCCERT_CONTEXT *ppXchgCert
  468. )
  469. {
  470. SetLastError(ERROR_PROC_NOT_FOUND);
  471. return FALSE;
  472. }
  473. static
  474. WINCRYPT32API
  475. BOOL
  476. WINAPI
  477. CryptEncodeObject(
  478. IN DWORD dwCertEncodingType,
  479. IN LPCSTR lpszStructType,
  480. IN const void *pvStructInfo,
  481. OUT OPTIONAL BYTE *pbEncoded,
  482. IN OUT DWORD *pcbEncoded
  483. )
  484. {
  485. SetLastError(ERROR_PROC_NOT_FOUND);
  486. return FALSE;
  487. }
  488. static
  489. WINCRYPT32API
  490. BOOL
  491. WINAPI
  492. CryptEncodeObjectEx(
  493. IN DWORD dwCertEncodingType,
  494. IN LPCSTR lpszStructType,
  495. IN const void *pvStructInfo,
  496. IN DWORD dwFlags,
  497. IN OPTIONAL PCRYPT_ENCODE_PARA pEncodePara,
  498. OUT void *pvEncoded,
  499. IN OUT DWORD *pcbEncoded
  500. )
  501. {
  502. SetLastError(ERROR_PROC_NOT_FOUND);
  503. return FALSE;
  504. }
  505. static
  506. WINCRYPT32API
  507. BOOL
  508. WINAPI
  509. CryptEncryptMessage(
  510. IN PCRYPT_ENCRYPT_MESSAGE_PARA pEncryptPara,
  511. IN DWORD cRecipientCert,
  512. IN PCCERT_CONTEXT rgpRecipientCert[],
  513. IN const BYTE *pbToBeEncrypted,
  514. IN DWORD cbToBeEncrypted,
  515. OUT BYTE *pbEncryptedBlob,
  516. IN OUT DWORD *pcbEncryptedBlob
  517. )
  518. {
  519. SetLastError(ERROR_PROC_NOT_FOUND);
  520. return FALSE;
  521. }
  522. static
  523. WINCRYPT32API
  524. BOOL
  525. WINAPI
  526. CryptExportPublicKeyInfo(
  527. IN HCRYPTPROV hCryptProv,
  528. IN DWORD dwKeySpec,
  529. IN DWORD dwCertEncodingType,
  530. OUT PCERT_PUBLIC_KEY_INFO pInfo,
  531. IN OUT DWORD *pcbInfo
  532. )
  533. {
  534. SetLastError(ERROR_PROC_NOT_FOUND);
  535. return FALSE;
  536. }
  537. static
  538. WINCRYPT32API
  539. BOOL
  540. WINAPI
  541. CryptFormatObject(
  542. IN DWORD dwCertEncodingType,
  543. IN DWORD dwFormatType,
  544. IN DWORD dwFormatStrType,
  545. IN void *pFormatStruct,
  546. IN LPCSTR lpszStructType,
  547. IN const BYTE *pbEncoded,
  548. IN DWORD cbEncoded,
  549. OUT void *pbFormat,
  550. IN OUT DWORD *pcbFormat
  551. )
  552. {
  553. SetLastError(ERROR_PROC_NOT_FOUND);
  554. return FALSE;
  555. }
  556. static
  557. WINCRYPT32API
  558. DWORD
  559. WINAPI
  560. CertGetNameStringW(
  561. IN PCCERT_CONTEXT pCertContext,
  562. IN DWORD dwType,
  563. IN DWORD dwFlags,
  564. IN void *pvTypePara,
  565. OUT OPTIONAL LPWSTR pszNameString,
  566. IN DWORD cchNameString
  567. )
  568. {
  569. SetLastError(ERROR_PROC_NOT_FOUND);
  570. return 0;
  571. }
  572. static
  573. WINCRYPT32API
  574. BOOL
  575. WINAPI
  576. CryptHashPublicKeyInfo(
  577. IN HCRYPTPROV hCryptProv,
  578. IN ALG_ID Algid,
  579. IN DWORD dwFlags,
  580. IN DWORD dwCertEncodingType,
  581. IN PCERT_PUBLIC_KEY_INFO pInfo,
  582. OUT BYTE *pbComputedHash,
  583. IN OUT DWORD *pcbComputedHash
  584. )
  585. {
  586. SetLastError(ERROR_PROC_NOT_FOUND);
  587. return FALSE;
  588. }
  589. static
  590. WINCRYPT32API
  591. BOOL
  592. WINAPI
  593. CryptImportPublicKeyInfo(
  594. IN HCRYPTPROV hCryptProv,
  595. IN DWORD dwCertEncodingType,
  596. IN PCERT_PUBLIC_KEY_INFO pInfo,
  597. OUT HCRYPTKEY *phKey
  598. )
  599. {
  600. SetLastError(ERROR_PROC_NOT_FOUND);
  601. return FALSE;
  602. }
  603. static
  604. WINCRYPT32API
  605. BOOL
  606. WINAPI
  607. CryptImportPublicKeyInfoEx(
  608. HCRYPTPROV hCryptProv,
  609. DWORD dwCertEncodingType,
  610. PCERT_PUBLIC_KEY_INFO pInfo,
  611. ALG_ID aiKeyAlg,
  612. DWORD dwFlags,
  613. void *pvAuxInfo,
  614. HCRYPTKEY *phKey
  615. )
  616. {
  617. SetLastError(ERROR_PROC_NOT_FOUND);
  618. return FALSE;
  619. }
  620. static
  621. WINCRYPT32API
  622. BOOL
  623. WINAPI
  624. CryptMsgGetAndVerifySigner(
  625. HCRYPTMSG hCryptMsg,
  626. DWORD cSignerStore,
  627. HCERTSTORE *rghSignerStore,
  628. DWORD dwFlags,
  629. PCCERT_CONTEXT *ppSigner,
  630. DWORD *pdwSignerIndex
  631. )
  632. {
  633. SetLastError(ERROR_PROC_NOT_FOUND);
  634. return FALSE;
  635. }
  636. static
  637. WINCRYPT32API
  638. BOOL
  639. WINAPI
  640. CryptProtectData(
  641. DATA_BLOB* pDataIn,
  642. LPCWSTR szDataDescr,
  643. DATA_BLOB* pOptionalEntropy,
  644. PVOID pvReserved,
  645. CRYPTPROTECT_PROMPTSTRUCT* pPromptStruct,
  646. DWORD dwFlags,
  647. DATA_BLOB* pDataOut)
  648. {
  649. SetLastError(ERROR_PROC_NOT_FOUND);
  650. return FALSE;
  651. }
  652. static
  653. WINCRYPT32API
  654. BOOL
  655. WINAPI
  656. CryptSignAndEncodeCertificate(
  657. IN HCRYPTPROV hCryptProv,
  658. IN DWORD dwKeySpec,
  659. IN DWORD dwCertEncodingType,
  660. IN LPCSTR lpszStructType,
  661. IN const void *pvStructInfo,
  662. IN PCRYPT_ALGORITHM_IDENTIFIER pSignatureAlgorithm,
  663. IN OPTIONAL const void *pvHashAuxInfo,
  664. OUT BYTE *pbEncoded,
  665. IN OUT DWORD *pcbEncoded
  666. )
  667. {
  668. SetLastError(ERROR_PROC_NOT_FOUND);
  669. return FALSE;
  670. }
  671. static
  672. WINCRYPT32API
  673. BOOL
  674. WINAPI
  675. CryptSignMessage(
  676. IN PCRYPT_SIGN_MESSAGE_PARA pSignPara,
  677. IN BOOL fDetachedSignature,
  678. IN DWORD cToBeSigned,
  679. IN const BYTE *rgpbToBeSigned[],
  680. IN DWORD rgcbToBeSigned[],
  681. OUT BYTE *pbSignedBlob,
  682. IN OUT DWORD *pcbSignedBlob
  683. )
  684. {
  685. SetLastError(ERROR_PROC_NOT_FOUND);
  686. return FALSE;
  687. }
  688. static
  689. WINCRYPT32API
  690. BOOL
  691. WINAPI
  692. CryptUnprotectData(
  693. DATA_BLOB* pDataIn, // in encr blob
  694. LPWSTR* ppszDataDescr, // out
  695. DATA_BLOB* pOptionalEntropy,
  696. PVOID pvReserved,
  697. CRYPTPROTECT_PROMPTSTRUCT* pPromptStruct,
  698. DWORD dwFlags,
  699. DATA_BLOB* pDataOut)
  700. {
  701. SetLastError(ERROR_PROC_NOT_FOUND);
  702. return FALSE;
  703. }
  704. static
  705. WINCRYPT32API
  706. BOOL
  707. WINAPI
  708. CryptVerifyCertificateSignature(
  709. IN HCRYPTPROV hCryptProv,
  710. IN DWORD dwCertEncodingType,
  711. IN const BYTE * pbEncoded,
  712. IN DWORD cbEncoded,
  713. IN PCERT_PUBLIC_KEY_INFO pPublicKey
  714. )
  715. {
  716. SetLastError(ERROR_PROC_NOT_FOUND);
  717. return FALSE;
  718. }
  719. static
  720. WINCRYPT32API
  721. BOOL
  722. WINAPI
  723. CryptVerifyMessageSignature(
  724. PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,
  725. DWORD dwSignerIndex,
  726. const BYTE *pbSignedBlob,
  727. DWORD cbSignedBlob,
  728. BYTE *pbDecoded,
  729. DWORD *pcbDecoded,
  730. PCCERT_CONTEXT *ppSignerCert
  731. )
  732. {
  733. SetLastError(ERROR_PROC_NOT_FOUND);
  734. return FALSE;
  735. }
  736. //
  737. // !! WARNING !! The entries below must be in alphabetical order, and are CASE SENSITIVE (eg lower case comes last!)
  738. //
  739. DEFINE_PROCNAME_ENTRIES(crypt32)
  740. {
  741. DLPENTRY(CertAddCertificateContextToStore)
  742. DLPENTRY(CertCloseStore)
  743. DLPENTRY(CertCompareCertificateName)
  744. DLPENTRY(CertControlStore)
  745. DLPENTRY(CertCreateCTLContext)
  746. DLPENTRY(CertCreateCertificateContext)
  747. DLPENTRY(CertDeleteCertificateFromStore)
  748. DLPENTRY(CertDuplicateCTLContext)
  749. DLPENTRY(CertDuplicateCertificateContext)
  750. DLPENTRY(CertEnumCertificatesInStore)
  751. DLPENTRY(CertFindCTLInStore)
  752. DLPENTRY(CertFindCertificateInStore)
  753. DLPENTRY(CertFindExtension)
  754. DLPENTRY(CertFindSubjectInCTL)
  755. DLPENTRY(CertFreeCTLContext)
  756. DLPENTRY(CertFreeCertificateChain)
  757. DLPENTRY(CertFreeCertificateContext)
  758. DLPENTRY(CertGetCertificateChain)
  759. DLPENTRY(CertGetCertificateContextProperty)
  760. DLPENTRY(CertGetEnhancedKeyUsage)
  761. DLPENTRY(CertGetIssuerCertificateFromStore)
  762. DLPENTRY(CertGetNameStringW)
  763. DLPENTRY(CertGetPublicKeyLength)
  764. DLPENTRY(CertNameToStrW)
  765. DLPENTRY(CertOpenStore)
  766. DLPENTRY(CertOpenSystemStoreW)
  767. DLPENTRY(CertRDNValueToStrW)
  768. DLPENTRY(CertRegisterPhysicalStore)
  769. DLPENTRY(CertSetCertificateContextProperty)
  770. DLPENTRY(CertStrToNameW)
  771. DLPENTRY(CertVerifyCertificateChainPolicy)
  772. DLPENTRY(CertVerifySubjectCertificateContext)
  773. DLPENTRY(CryptDecodeObject)
  774. DLPENTRY(CryptDecodeObjectEx)
  775. DLPENTRY(CryptDecryptMessage)
  776. DLPENTRY(CryptEncodeObject)
  777. DLPENTRY(CryptEncodeObjectEx)
  778. DLPENTRY(CryptEncryptMessage)
  779. DLPENTRY(CryptExportPublicKeyInfo)
  780. DLPENTRY(CryptFormatObject)
  781. DLPENTRY(CryptHashPublicKeyInfo)
  782. DLPENTRY(CryptImportPublicKeyInfo)
  783. DLPENTRY(CryptImportPublicKeyInfoEx)
  784. DLPENTRY(CryptMsgGetAndVerifySigner)
  785. DLPENTRY(CryptProtectData)
  786. DLPENTRY(CryptSignAndEncodeCertificate)
  787. DLPENTRY(CryptSignMessage)
  788. DLPENTRY(CryptUnprotectData)
  789. DLPENTRY(CryptVerifyCertificateSignature)
  790. DLPENTRY(CryptVerifyMessageSignature)
  791. };
  792. DEFINE_PROCNAME_MAP(crypt32)