18 references to CAPIUnsafe
System.Security (18)
system\security\cryptography\cryptoapi.cs (17)
2500bool rc = CAPIUnsafe.CryptAcquireContext(ref hCryptProv, 2507rc = CAPIUnsafe.CryptAcquireContext(ref hCryptProv, 2599return CAPIUnsafe.CryptMsgControl(hCryptMsg, 2618return CAPIUnsafe.CryptMsgCountersign(hCryptMsg, 2639return CAPIUnsafe.CryptMsgOpenToEncode(dwMsgEncodingType, 2663return CAPIUnsafe.CryptMsgOpenToEncode(dwMsgEncodingType, 2695IntPtr handle = CAPIUnsafe.CertEnumCertificatesInStore(hCertStore, pPrevCertContext); 2730return CAPIUnsafe.CertAddCertificateContextToStore(hCertStore, 2759return CAPIUnsafe.CertAddCertificateLinkToStore(hCertStore, 2806return CAPIUnsafe.CertOpenStore(lpszStoreProvider, 2826return CAPIUnsafe.CryptProtectData(pDataIn, szDataDescr, pOptionalEntropy, pvReserved, pPromptStruct, dwFlags, pDataBlob); 2842return CAPIUnsafe.CryptUnprotectData(pDataIn, ppszDataDescr, pOptionalEntropy, pvReserved, pPromptStruct, dwFlags, pDataBlob); 2854return CAPIUnsafe.SystemFunction040(pDataIn, cbDataIn, dwFlags); 2866return CAPIUnsafe.SystemFunction041(pDataIn, cbDataIn, dwFlags); 2882return CAPIUnsafe.CryptUIDlgSelectCertificateW(csc); 2898return CAPIUnsafe.CryptUIDlgViewCertificateW(ViewInfo, pfPropertiesChanged); 2918return CAPIUnsafe.CertFindCertificateInStore(hCertStore,
system\security\cryptography\pkcs\pkcsutils.cs (1)
1091handle = CAPI.CAPIUnsafe.CertCreateSelfSignCertificate(hProv,