Vanara.PInvoke.Cryptography 3.3.11

PInvoke API (methods, structures and constants) imported from Windows crypt32.dll, bcrypt.dll, ncrypt.dll, tokenbinding.dll, cryptnet.dll, cryptdlg.dll and cryptui.dll.

Install-Package Vanara.PInvoke.Cryptography -Version 3.3.11
dotnet add package Vanara.PInvoke.Cryptography --version 3.3.11
<PackageReference Include="Vanara.PInvoke.Cryptography" Version="3.3.11" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.Cryptography --version 3.3.11
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Vanara.PInvoke.Cryptography, 3.3.11"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Vanara.PInvoke.Cryptography as a Cake Addin
#addin nuget:?package=Vanara.PInvoke.Cryptography&version=3.3.11

// Install Vanara.PInvoke.Cryptography as a Cake Tool
#tool nuget:?package=Vanara.PInvoke.Cryptography&version=3.3.11
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Currently implements:

Functions
BCryptAddContextFunction BCryptCloseAlgorithmProvider BCryptConfigureContext BCryptConfigureContextFunction BCryptCreateContext BCryptCreateHash BCryptCreateMultiHash BCryptDecrypt BCryptDeleteContext BCryptDeriveKey BCryptDeriveKeyCapi BCryptDeriveKeyPBKDF2 BCryptDestroyHash BCryptDestroyKey BCryptDestroySecret BCryptDuplicateHash BCryptDuplicateKey BCryptEncrypt BCryptEnumAlgorithms BCryptEnumContextFunctionProviders BCryptEnumContextFunctions BCryptEnumContexts BCryptEnumProviders BCryptEnumRegisteredProviders BCryptExportKey BCryptFinalizeKeyPair BCryptFinishHash BCryptFreeBuffer BCryptGenerateKeyPair BCryptGenerateSymmetricKey BCryptGenRandom BCryptGetFipsAlgorithmMode BCryptGetProperty BCryptHash BCryptHashData BCryptImportKey BCryptImportKeyPair BCryptKeyDerivation BCryptOpenAlgorithmProvider BCryptProcessMultiOperations BCryptQueryContextConfiguration BCryptQueryContextFunctionConfiguration BCryptQueryContextFunctionProperty BCryptQueryProviderRegistration BCryptRegisterConfigChangeNotify BCryptRemoveContextFunction BCryptResolveProviders BCryptSecretAgreement BCryptSetContextFunctionProperty BCryptSetProperty BCryptSignHash BCryptUnregisterConfigChangeNotify BCryptVerifySignature CertAddCertificateContextToStore CertAddCertificateLinkToStore CertAddCRLContextToStore CertAddCRLLinkToStore CertAddCTLContextToStore CertAddCTLLinkToStore CertAddEncodedCertificateToStore CertAddEncodedCertificateToSystemStore CertAddEncodedCRLToStore CertAddEncodedCTLToStore CertAddEnhancedKeyUsageIdentifier CertAddRefServerOcspResponse CertAddRefServerOcspResponseContext CertAddSerializedElementToStore CertAddStoreToCollection CertAlgIdToOID CertCloseServerOcspResponse CertCloseStore CertCompareCertificate CertCompareCertificateName CertCompareIntegerBlob CertComparePublicKeyInfo CertControlStore CertCreateCertificateChainEngine CertCreateCertificateContext CertCreateContext CertCreateCRLContext CertCreateCTLContext CertCreateCTLEntryFromCertificateContextProperties CertCreateSelfSignCertificate CertDeleteCertificateFromStore CertDeleteCRLFromStore CertDeleteCTLFromStore CertDuplicateCertificateChain CertDuplicateCertificateContext CertDuplicateCRLContext CertDuplicateCTLContext CertDuplicateStore CertEnumCertificateContextProperties CertEnumCertificatesInStore CertEnumCRLContextProperties CertEnumCRLsInStore CertEnumCTLContextProperties CertEnumCTLsInStore CertEnumPhysicalStore CertEnumSubjectInSortedCTL CertEnumSystemStore CertEnumSystemStoreLocation CertFindAttribute CertFindCertificateInCRL CertFindCertificateInStore CertFindChainInStore CertFindCRLInStore CertFindCTLInStore CertFindExtension CertFindRDNAttr CertFindSubjectInCTL CertFindSubjectInSortedCTL CertFreeCertificateChain CertFreeCertificateChainEngine CertFreeCertificateChainList CertFreeCertificateContext CertFreeCRLContext CertFreeCTLContext CertFreeServerOcspResponseContext CertGetCertificateChain CertGetCertificateContextProperty CertGetCRLContextProperty CertGetCRLFromStore CertGetCTLContextProperty CertGetEnhancedKeyUsage CertGetIntendedKeyUsage CertGetIssuerCertificateFromStore CertGetNameString CertGetPublicKeyLength CertGetServerOcspResponseContext CertGetStoreProperty CertGetSubjectCertificateFromStore CertGetValidUsages CertIsRDNAttrsInCertificateName CertIsStrongHashToSign CertIsValidCRLForCertificate CertModifyCertificatesToTrust CertNameToStr CertOIDToAlgId CertOpenServerOcspResponse CertOpenStore CertOpenSystemStore CertRDNValueToStr CertRegisterPhysicalStore CertRegisterSystemStore CertRemoveEnhancedKeyUsageIdentifier CertRemoveStoreFromCollection CertResyncCertificateChainEngine CertRetrieveLogoOrBiometricInfo CertSaveStore CertSelectCertificate CertSelectCertificateChains CertSelectionGetSerializedBlob CertSerializeCertificateStoreElement CertSerializeCRLStoreElement CertSerializeCTLStoreElement CertSetCertificateContextPropertiesFromCTLEntry CertSetCertificateContextProperty CertSetCRLContextProperty CertSetCTLContextProperty CertSetEnhancedKeyUsage CertSetStoreProperty CertStrToName CertUnregisterPhysicalStore CertUnregisterSystemStore CertVerifyCertificateChainPolicy CertVerifyCRLRevocation CertVerifyCRLTimeValidity CertVerifyCTLUsage CertVerifyRevocation CertVerifySubjectCertificateContext CertVerifyTimeValidity CertVerifyValidityNesting CertViewProperties CryptAcquireCertificatePrivateKey CryptBinaryToString CryptCreateKeyIdentifierFromCSP CryptDecodeMessage CryptDecodeObject CryptDecodeObjectEx CryptDecryptAndVerifyMessageSignature CryptDecryptMessage CryptEncodeObject CryptEncodeObjectEx CryptEncryptMessage CryptEnumKeyIdentifierProperties CryptEnumOIDFunction CryptEnumOIDInfo CryptExportPKCS8 CryptExportPKCS8Ex CryptExportPublicKeyInfo CryptExportPublicKeyInfoEx CryptExportPublicKeyInfoFromBCryptKeyHandle CryptFindCertificateKeyProvInfo CryptFindLocalizedName CryptFindOIDInfo CryptFormatObject CryptFreeOIDFunctionAddress CryptGetDefaultOIDDllList CryptGetDefaultOIDFunctionAddress CryptGetKeyIdentifierProperty CryptGetMessageCertificates CryptGetMessageSignerCount CryptGetObjectUrl CryptGetOIDFunctionAddress CryptGetOIDFunctionValue CryptGetTimeValidObject CryptHashCertificate CryptHashCertificate2 CryptHashMessage CryptHashPublicKeyInfo CryptHashToBeSigned CryptImportPKCS8 CryptImportPublicKeyInfo CryptImportPublicKeyInfoEx CryptImportPublicKeyInfoEx2 CryptInitOIDFunctionSet CryptInstallDefaultContext CryptInstallOIDFunctionAddress CryptMemAlloc CryptMemFree CryptMemRealloc CryptMsgCalculateEncodedLength CryptMsgClose CryptMsgControl CryptMsgCountersign CryptMsgCountersignEncoded CryptMsgDuplicate CryptMsgEncodeAndSignCTL CryptMsgGetAndVerifySigner CryptMsgGetParam CryptMsgOpenToDecode CryptMsgOpenToEncode CryptMsgSignCTL CryptMsgUpdate CryptMsgVerifyCountersignatureEncoded CryptMsgVerifyCountersignatureEncodedEx CryptProtectData CryptProtectMemory CryptQueryObject CryptRegisterDefaultOIDFunction CryptRegisterOIDFunction CryptRegisterOIDInfo CryptRetrieveObjectByUrl CryptRetrieveTimeStamp CryptSetKeyIdentifierProperty CryptSetOIDFunctionValue CryptSignAndEncodeCertificate CryptSignAndEncryptMessage CryptSignCertificate CryptSignMessage CryptSignMessageWithKey CryptSIPAddProvider CryptSIPCreateIndirectData CryptSIPGetCaps CryptSIPGetSignedDataMsg CryptSIPLoad CryptSIPPutSignedDataMsg CryptSIPRemoveProvider CryptSIPRemoveSignedDataMsg CryptSIPRetrieveSubjectGuid CryptSIPRetrieveSubjectGuidForCatalogFile CryptSIPVerifyIndirectData CryptStringToBinary CryptUIDlgCertMgr CryptUIDlgSelectCertificateFromStore CryptUIDlgViewCertificate CryptUIDlgViewContext CryptUIWizDigitalSign CryptUIWizExport CryptUIWizFreeDigitalSignContext CryptUIWizImport CryptUninstallDefaultContext CryptUnprotectData CryptUnprotectMemory CryptUnregisterDefaultOIDFunction CryptUnregisterOIDFunction CryptUnregisterOIDInfo CryptUpdateProtectedState CryptVerifyCertificateSignature CryptVerifyCertificateSignatureEx CryptVerifyDetachedMessageHash CryptVerifyDetachedMessageSignature CryptVerifyMessageHash CryptVerifyMessageSignature CryptVerifyMessageSignatureWithKey CryptVerifyTimeStampSignature GetFriendlyNameOfCert NCryptCloseProtectionDescriptor NCryptCreateClaim NCryptCreatePersistedKey NCryptCreateProtectionDescriptor NCryptDecrypt NCryptDeleteKey NCryptDeriveKey NCryptEncrypt NCryptEnumAlgorithms NCryptEnumKeys NCryptEnumStorageProviders NCryptExportKey NCryptFinalizeKey NCryptFreeBuffer NCryptFreeObject NCryptGetProperty NCryptGetProtectionDescriptorInfo NCryptImportKey NCryptIsAlgSupported NCryptIsKeyHandle NCryptKeyDerivation NCryptNotifyChangeKey NCryptOpenKey NCryptOpenStorageProvider NCryptProtectSecret NCryptQueryProtectionDescriptorName NCryptRegisterProtectionDescriptorName NCryptSecretAgreement NCryptSetProperty NCryptSignHash NCryptStreamClose NCryptStreamOpenToProtect NCryptStreamOpenToUnprotect NCryptStreamOpenToUnprotectEx NCryptStreamUpdate NCryptTranslateHandle NCryptUnprotectSecret NCryptVerifyClaim NCryptVerifySignature PFXExportCertStore PFXExportCertStoreEx PFXImportCertStore PFXIsPFXBlob PFXVerifyPassword SslComputeClientAuthHash SslComputeEapKeyBlock SslComputeFinishedHash SslCreateClientAuthHash SslCreateEphemeralKey SslCreateHandshakeHash SslDecrementProviderReferenceCount SslDecryptPacket SslEncryptPacket SslEnumCipherSuites SslEnumProtocolProviders SslExportKey SslExportKeyingMaterial SslFreeBuffer SslFreeObject SslGenerateMasterKey SslGenerateSessionKeys SslGetCipherSuitePRFHashAlgorithm SslGetKeyProperty SslGetProviderProperty SslHashHandshake SslImportKey SslImportMasterKey SslIncrementProviderReferenceCount SslLookupCipherLengths SslLookupCipherSuiteInfo SslOpenPrivateKey SslOpenProvider SslSignHash SslVerifySignature TokenBindingDeleteAllBindings TokenBindingDeleteBinding TokenBindingGenerateBinding TokenBindingGenerateID TokenBindingGenerateMessage TokenBindingGetKeyTypesClient TokenBindingGetKeyTypesServer TokenBindingVerifyMessage

Structures
BCRYPT_ALGORITHM_IDENTIFIER BCRYPT_ALG_HANDLE BCRYPT_HANDLE BCRYPT_HASH_HANDLE BCRYPT_KEY_HANDLE BCRYPT_KEY_LENGTHS_STRUCT BCRYPT_MULTI_HASH_OPERATION BCRYPT_MULTI_OBJECT_LENGTH_STRUCT BCRYPT_OAEP_PADDING_INFO BCRYPT_OID_LIST BCRYPT_PKCS1_PADDING_INFO BCRYPT_PROVIDER_NAME BCRYPT_PSS_PADDING_INFO BCRYPT_SECRET_HANDLE CERT_CHAIN_CONTEXT CERT_CHAIN_ELEMENT CERT_CHAIN_ENGINE_CONFIG CERT_CHAIN_PARA CERT_CHAIN_POLICY_PARA CERT_CHAIN_POLICY_STATUS CERT_CONTEXT CERT_CREATE_CONTEXT_PARA CERT_EXTENSION CERT_EXTENSIONS CERT_ID CERT_INFO CERT_ISSUER_SERIAL_NUMBER CERT_KEY_CONTEXT CERT_NAME_INFO CERT_PHYSICAL_STORE_INFO CERT_PUBLIC_KEY_INFO CERT_RDN CERT_RDN_ATTR CERT_REVOCATION_CHAIN_PARA CERT_REVOCATION_CRL_INFO CERT_REVOCATION_INFO CERT_REVOCATION_PARA CERT_REVOCATION_STATUS CERT_SELECTUI_INPUT CERT_SELECT_CHAIN_PARA CERT_SELECT_CRITERIA CERT_SELECT_STRUCT CERT_SIMPLE_CHAIN CERT_STRONG_SIGN_PARA CERT_SYSTEM_STORE_INFO CERT_SYSTEM_STORE_RELOCATE_PARA CERT_TRUST_LIST_INFO CERT_TRUST_STATUS CERT_USAGE_MATCH CERT_VIEWPROPERTIES_STRUCT CMSG_CMS_SIGNER_INFO CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR_PARA CMSG_CTRL_DECRYPT_PARA CMSG_CTRL_DECRYPT_PARA_HANDLES CMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR_PARA CMSG_CTRL_KEY_AGREE_DECRYPT_PARA CMSG_CTRL_KEY_AGREE_DECRYPT_PARA_HANDLES CMSG_CTRL_KEY_TRANS_DECRYPT_PARA CMSG_CTRL_KEY_TRANS_DECRYPT_PARA_HANDLES CMSG_CTRL_MAIL_LIST_DECRYPT_PARA CMSG_CTRL_VERIFY_SIGNATURE_EX_PARA CMSG_KEY_AGREE_RECIPIENT_INFO CMSG_KEY_AGREE_RECIPIENT_INFO_UNION CMSG_KEY_TRANS_RECIPIENT_INFO CMSG_MAIL_LIST_RECIPIENT_INFO CMSG_RECIPIENT_ENCRYPTED_KEY_INFO CMSG_SIGNED_ENCODE_INFO CMSG_SIGNER_ENCODE_INFO CMSG_SIGNER_ENCODE_INFO_HANDLES CMSG_STREAM_INFO CRL_CONTEXT CRL_ENTRY CRL_INFO CRYPTCATMEMBER CRYPTCATSTORE CRYPTOAPI_BLOB CRYPTPROTECT_PROMPTSTRUCT CRYPTUI_CERT_MGR_STRUCT CRYPTUI_INITDIALOG_STRUCT CRYPTUI_VIEWCERTIFICATE_STRUCT CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO CRYPTUI_WIZ_DIGITAL_SIGN_INFO CRYPTUI_WIZ_DIGITAL_SIGN_INFO_UNION CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO CRYPTUI_WIZ_EXPORT_INFO CRYPTUI_WIZ_EXPORT_INFO_UNION CRYPTUI_WIZ_IMPORT_SRC_INFO CRYPTUI_WIZ_IMPORT_SRC_INFO_UNION CRYPT_ALGORITHM_IDENTIFIER CRYPT_ATTRIBUTE CRYPT_ATTRIBUTES CRYPT_ATTRIBUTE_TYPE_VALUE CRYPT_BIT_BLOB CRYPT_CONTEXTS CRYPT_CONTEXT_CONFIG CRYPT_CONTEXT_FUNCTIONS CRYPT_CONTEXT_FUNCTION_CONFIG CRYPT_CONTEXT_FUNCTION_PROVIDERS CRYPT_CREDENTIALS CRYPT_DECODE_PARA CRYPT_DECRYPT_MESSAGE_PARA CRYPT_ENCODE_PARA CRYPT_ENCRYPT_MESSAGE_PARA CRYPT_GET_TIME_VALID_OBJECT_EXTRA_INFO CRYPT_HASH_MESSAGE_PARA CRYPT_KEY_PROV_INFO CRYPT_KEY_SIGN_MESSAGE_PARA CRYPT_KEY_SIGN_MESSAGE_PARA_HANDLE CRYPT_KEY_VERIFY_MESSAGE_PARA CRYPT_OID_FUNC_ENTRY CRYPT_OID_INFO CRYPT_OID_INFO_UNION CRYPT_PKCS8_EXPORT_PARAMS CRYPT_PKCS8_IMPORT_PARAMS CRYPT_PRIVATE_KEY_INFO CRYPT_PROVIDERS CRYPT_RETRIEVE_AUX_INFO CRYPT_SIGN_MESSAGE_PARA CRYPT_TIMESTAMP_ACCURACY CRYPT_TIMESTAMP_CONTEXT CRYPT_TIMESTAMP_INFO CRYPT_TIMESTAMP_PARA CRYPT_URL_ARRAY CRYPT_URL_INFO CRYPT_VERIFY_MESSAGE_PARA CTL_CONTEXT CTL_ENTRY CTL_INFO CTL_MODIFY_REQUEST CTL_USAGE CTL_VERIFY_USAGE_PARA CTL_VERIFY_USAGE_STATUS HCERTCHAINENGINE HCERTSTORE HCERT_SERVER_OCSP_RESPONSE HCRYPTDEFAULTCONTEXT HCRYPTHASH HCRYPTKEY HCRYPTMSG HCRYPTOIDFUNCADDR HCRYPTOIDFUNCSET HCRYPTPROV MS_ADDINFO_BLOB MS_ADDINFO_CATALOGMEMBER MS_ADDINFO_FLAT NCryptAlgorithmName NCryptBuffer NCryptBufferDesc NCRYPT_ALLOC_PARA NCRYPT_DESCRIPTOR_HANDLE NCRYPT_HANDLE NCRYPT_HASH_HANDLE NCRYPT_KEY_HANDLE NCRYPT_PROTECT_STREAM_INFO NCRYPT_PROTECT_STREAM_INFO_EX NCRYPT_PROV_HANDLE NCRYPT_SECRET_HANDLE NCRYPT_SSL_CIPHER_LENGTHS NCRYPT_SSL_CIPHER_SUITE NCRYPT_STREAM_HANDLE PCCERT_CHAIN_CONTEXT PCCERT_CONTEXT PCCERT_SERVER_OCSP_RESPONSE_CONTEXT PCCRL_CONTEXT PCCRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT PCCRYPT_OID_INFO PCCTL_CONTEXT PUBLICKEYSTRUC SafeCRYPTOAPI_BLOB SIP_ADD_NEWPROVIDER SIP_CAP_SET_V2 SIP_CAP_SET_V3 SIP_DISPATCH_INFO SIP_INDIRECT_DATA SIP_SUBJECTINFO TOKENBINDING_IDENTIFIER TOKENBINDING_KEY_TYPES TOKENBINDING_RESULT_DATA TOKENBINDING_RESULT_LIST

NuGet packages (6)

Showing the top 5 NuGet packages that depend on Vanara.PInvoke.Cryptography:

Package Downloads
Vanara.PInvoke.Security
PInvoke API (methods, structures and constants) imported from Windows AdvApi32.dll, Authz.dll and Secur32.dll.
Vanara.PInvoke.WinTrust
PInvoke API (methods, structures and constants) imported from Windows WinTrust.dll.
Vanara.Library
The full set of packages associated with the Vanara PInvoke Libraries.
Vanara.PInvoke.P2P
PInvoke API (methods, structures and constants) imported from Windows P2P.dll for Peer-to-Peer API.
Vanara.PInvoke.Drt
PInvoke API (methods, structures and constants) imported from Windows Drt.dll for the Distributed Routing Table (DRT) API.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Vanara.PInvoke.Cryptography:

Repository Stars
Ceiridge/Chrome-Developer-Mode-Extension-Warning-Patcher
⇒ Disable Chrome's Developer Mode Extension Warning Popup & Elision WWW/HTTPS Hiding & Debugging Extension Popup

Version History

Version Downloads Last updated
3.3.11 840 7/22/2021
3.3.10 3,389 6/4/2021
3.3.9 2,587 5/7/2021
3.3.8 2,091 4/7/2021
3.3.7 2,001 3/24/2021
3.3.6 759 3/19/2021
3.3.5 2,079 3/1/2021
3.3.4 1,291 2/11/2021
3.3.3 859 2/3/2021
3.3.2 962 1/21/2021
3.3.1 400 1/20/2021
3.3.0 3,369 11/20/2020
3.2.21 751 11/13/2020
3.2.20 3,072 11/8/2020
3.2.19 6,105 10/23/2020
3.2.18 592 10/21/2020
3.2.17 2,785 9/20/2020
3.2.16 822 9/7/2020
3.2.15 790 8/30/2020
3.2.14 730 8/20/2020
3.2.13 1,296 7/27/2020
3.2.12 923 7/13/2020
3.2.11 1,891 6/28/2020
3.2.10 991 6/14/2020
3.2.9 1,052 6/3/2020
3.2.7 2,663 5/4/2020
3.2.6 1,077 4/21/2020
3.2.5 787 4/15/2020
3.2.4 689 4/12/2020
3.2.3 863 4/1/2020
3.2.2 730 3/24/2020
3.2.1 783 3/17/2020
3.2.0 1,031 2/27/2020
3.1.9 1,100 1/17/2020
3.1.8 758 1/13/2020
3.1.7 749 1/6/2020
3.1.6 895 12/12/2019
3.1.5 864 11/26/2019
3.1.4 674 11/25/2019
3.1.3 837 11/8/2019
3.1.2 682 11/4/2019
3.1.1 2,045 10/17/2019
3.1.0 678 10/3/2019
3.0.1 621 9/20/2019
3.0.0 635 8/27/2019
2.3.11 819 6/9/2019
2.3.10 473 6/5/2019
2.3.9 430 5/26/2019
2.3.8 456 5/13/2019
2.3.7 303 4/24/2019
2.3.6 286 4/17/2019
2.3.5 284 4/10/2019
2.3.4 301 3/9/2019
2.3.3 270 3/8/2019
2.3.2 305 2/28/2019
2.3.1 287 2/25/2019
2.3.0 283 2/22/2019
2.2.1 327 2/12/2019
2.2.0 370 2/1/2019
2.1.2 535 1/14/2019
2.1.0 537 12/15/2018
2.0.1 386 12/7/2018