1 type derived from CAPIMethods
System (1)
security\system\security\cryptography\cryptoapi.cs (1)
2763internal sealed class CAPI : CAPIMethods {
39 references to CAPIMethods
System (39)
security\system\security\cryptography\cryptoapi.cs (39)
2797bool result = CAPIMethods.CryptDecodeObject(X509_ASN_ENCODING | PKCS_7_ASN_ENCODING, 2808result = CAPIMethods.CryptDecodeObject(X509_ASN_ENCODING | PKCS_7_ASN_ENCODING, 2841if (!CAPIMethods.CryptDecodeObject(X509_ASN_ENCODING | PKCS_7_ASN_ENCODING, 2851if (!CAPIMethods.CryptDecodeObject(X509_ASN_ENCODING | PKCS_7_ASN_ENCODING, 2878if (!CAPIMethods.CryptEncodeObject(X509_ASN_ENCODING | PKCS_7_ASN_ENCODING, 2886if (!CAPIMethods.CryptEncodeObject(X509_ASN_ENCODING | PKCS_7_ASN_ENCODING, 2915if (!CAPIMethods.CryptEncodeObject(X509_ASN_ENCODING | PKCS_7_ASN_ENCODING, 2923if (!CAPIMethods.CryptEncodeObject(X509_ASN_ENCODING | PKCS_7_ASN_ENCODING, 2988SafeLocalAllocHandle safeLocalAllocHandle = CAPIMethods.LocalAlloc(uFlags, sizetdwBytes); 3023bool rc = CAPIMethods.CryptAcquireContext(ref hCryptProv, 3030rc = CAPIMethods.CryptAcquireContext(ref hCryptProv, 3082IntPtr pv = CAPIMethods.CryptFindOIDInfo(dwKeyType, 3107IntPtr pv = CAPIMethods.CryptFindOIDInfo(dwKeyType, 3138if (!CAPIMethods.CryptFormatObject(dwCertEncodingType, 3150if (!CAPIMethods.CryptFormatObject(dwCertEncodingType, 3188if (!CAPIMethods.CryptFormatObject(dwCertEncodingType, 3200if (!CAPIMethods.CryptFormatObject(dwCertEncodingType, 3230return CAPIMethods.CryptMsgControl(hCryptMsg, 3249return CAPIMethods.CryptMsgCountersign(hCryptMsg, 3270return CAPIMethods.CryptMsgOpenToEncode(dwMsgEncodingType, 3294return CAPIMethods.CryptMsgOpenToEncode(dwMsgEncodingType, 3325return CAPIMethods.CertSetCertificateContextProperty(pCertContext, dwPropId, dwFlags, pvData); 3351return CAPIMethods.CertSetCertificateContextProperty(pCertContext, dwPropId, dwFlags, pvData); 3379return CAPIMethods.CertSetCertificateContextProperty(pCertContext, dwPropId, dwFlags, safeLocalAllocHandle); 3391return CAPIMethods.CertDuplicateCertificateContext(pCertContext); 3403return CAPIMethods.CertDuplicateCertificateContext(pCertContext); 3426IntPtr handle = CAPIMethods.CertEnumCertificatesInStore(hCertStore, pPrevCertContext); 3430CAPIMethods.CertFreeCertificateContext(handle); 3457SafeCertContextHandle safeCertContextHandle = CAPIMethods.CertEnumCertificatesInStore(hCertStore, pPrevCertContext); 3511result = CAPIMethods.CryptQueryObject(dwObjectType, 3576result = CAPIMethods.CryptQueryObject(dwObjectType, 3647safeCertStoreHandle = CAPIMethods.PFXImportCertStore(new IntPtr(&certBlob), 3710return CAPIMethods.CertAddCertificateContextToStore(hCertStore, 3745return CAPIMethods.CertAddCertificateLinkToStore(hCertStore, 3772return CAPIMethods.CertDeleteCertificateFromStore(pCertContext); 3821return CAPIMethods.CertOpenStore(lpszStoreProvider, 3848return CAPIMethods.CertFindCertificateInStore(hCertStore, 3882return CAPIMethods.PFXExportCertStore(hCertStore, 3913return CAPIMethods.CertSaveStore(hCertStore,