Vanara.PInvoke.Cryptography 3.1.9

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Vanara.PInvoke.Cryptography --version 3.1.9                
NuGet\Install-Package Vanara.PInvoke.Cryptography -Version 3.1.9                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vanara.PInvoke.Cryptography" Version="3.1.9" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.Cryptography --version 3.1.9                
#r "nuget: Vanara.PInvoke.Cryptography, 3.1.9"                
#r directive can be used in F# Interactive and Polyglot Notebooks. 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.1.9

// Install Vanara.PInvoke.Cryptography as a Cake Tool
#tool nuget:?package=Vanara.PInvoke.Cryptography&version=3.1.9                

PInvoke API (methods, structures and constants) imported from Windows BCrypt.dll and NCrypt.dll.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 is compatible.  netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 is compatible.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net20 is compatible.  net35 is compatible.  net40 is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8)

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, sspicli.dll, schannel.dll, tdh.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.Drt

PInvoke API (methods, structures and constants) imported from Windows Drt.dll for the Distributed Routing Table (DRT) API.

Vanara.PInvoke.Msi

PInvoke API (methods, structures and constants) imported from Windows Msi.dll.

GitHub repositories (2)

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

Repository Stars
omeryanar/FileExplorer
Windows File Explorer alternative with tab browsing
lithnet/access-manager
Access Manager provides web-based access to local admin (LAPS) passwords, BitLocker recovery keys, and just-in-time administrative access to Windows computers in a modern, secure, and user-friendly way.
Version Downloads Last updated
4.0.4 25,586 9/13/2024
4.0.3 35,495 8/5/2024
4.0.2 10,939 6/24/2024
4.0.1 36,720 4/30/2024
4.0.0 15,147 3/29/2024
4.0.0-beta2 1,788 1/22/2024
4.0.0-beta 2,020 11/20/2023
3.4.17 64,311 10/18/2023
3.4.16 42,839 8/7/2023
3.4.15 97,239 5/18/2023
3.4.14 31,717 4/15/2023
3.4.13 27,551 2/4/2023
3.4.12 12,145 1/15/2023
3.4.11 43,959 11/15/2022
3.4.10 18,883 10/25/2022
3.4.9 14,040 10/3/2022
3.4.8 16,448 9/16/2022
3.4.7 12,727 9/3/2022
3.4.6 15,393 8/7/2022
3.4.5 19,999 7/17/2022
3.4.4 11,944 7/5/2022
3.4.3 14,575 6/14/2022
3.4.2 15,723 5/13/2022
3.4.1 12,448 5/5/2022
3.4.0 18,047 3/14/2022
3.3.15 45,188 12/27/2021
3.3.14 11,959 10/26/2021
3.3.13 17,961 9/30/2021
3.3.12 7,885 8/30/2021
3.3.11 22,717 7/22/2021
3.3.10 12,051 6/4/2021
3.3.9 9,405 5/7/2021
3.3.8 7,633 4/7/2021
3.3.7 7,715 3/24/2021
3.3.6 6,173 3/19/2021
3.3.5 7,353 3/1/2021
3.3.4 8,959 2/11/2021
3.3.3 5,982 2/3/2021
3.3.2 5,984 1/21/2021
3.3.1 5,712 1/20/2021
3.3.0 9,234 11/20/2020
3.2.21 5,589 11/13/2020
3.2.20 8,638 11/8/2020
3.2.19 13,700 10/23/2020
3.2.18 5,418 10/21/2020
3.2.17 7,571 9/20/2020
3.2.16 5,771 9/7/2020
3.2.15 5,534 8/30/2020
3.2.14 5,193 8/20/2020
3.2.13 6,170 7/27/2020
3.2.12 5,464 7/13/2020
3.2.11 6,334 6/28/2020
3.2.10 5,525 6/14/2020
3.2.9 5,600 6/3/2020
3.2.7 8,541 5/4/2020
3.2.6 5,445 4/21/2020
3.2.5 5,299 4/15/2020
3.2.4 5,164 4/12/2020
3.2.3 5,323 4/1/2020
3.2.2 5,040 3/24/2020
3.2.1 5,205 3/17/2020
3.2.0 5,395 2/27/2020
3.1.9 5,346 1/17/2020
3.1.8 5,140 1/13/2020
3.1.7 4,704 1/6/2020
3.1.6 4,526 12/12/2019
3.1.5 4,548 11/26/2019
3.1.4 4,573 11/25/2019
3.1.3 4,616 11/8/2019
3.1.2 4,365 11/4/2019
3.1.1 5,707 10/17/2019
3.1.0 4,203 10/3/2019
3.0.1 4,025 9/20/2019
3.0.0 3,777 8/27/2019
2.3.11 3,038 6/9/2019
2.3.10 2,093 6/5/2019
2.3.9 2,037 5/26/2019
2.3.8 1,948 5/13/2019
2.3.7 1,120 4/24/2019
2.3.6 1,098 4/17/2019
2.3.5 1,100 4/10/2019
2.3.4 1,118 3/9/2019
2.3.3 1,043 3/8/2019
2.3.2 1,075 2/28/2019
2.3.1 1,086 2/25/2019
2.3.0 1,135 2/22/2019
2.2.1 1,176 2/12/2019
2.2.0 1,167 2/1/2019
2.1.2 1,407 1/14/2019
2.1.0 1,363 12/15/2018
2.0.1 1,166 12/7/2018

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, CertNameToStr, CertOIDToAlgId, CertOpenServerOcspResponse, CertOpenStore, CertOpenSystemStore, CertRDNValueToStr, CertRegisterPhysicalStore, CertRegisterSystemStore, CertRemoveEnhancedKeyUsageIdentifier, CertRemoveStoreFromCollection, CertResyncCertificateChainEngine, CertRetrieveLogoOrBiometricInfo, CertSaveStore, CertSelectCertificateChains, CertSerializeCertificateStoreElement, CertSerializeCRLStoreElement, CertSerializeCTLStoreElement, CertSetCertificateContextPropertiesFromCTLEntry, CertSetCertificateContextProperty, CertSetCRLContextProperty, CertSetCTLContextProperty, CertSetEnhancedKeyUsage, CertSetStoreProperty, CertStrToName, CertUnregisterPhysicalStore, CertUnregisterSystemStore, CertVerifyCertificateChainPolicy, CertVerifyCRLRevocation, CertVerifyCRLTimeValidity, CertVerifyCTLUsage, CertVerifyRevocation, CertVerifySubjectCertificateContext, CertVerifyTimeValidity, CertVerifyValidityNesting, CryptAcquireCertificatePrivateKey, CryptBinaryToString, CryptCreateKeyIdentifierFromCSP, CryptDecodeMessage, CryptDecodeObject, CryptDecodeObjectEx, CryptDecryptAndVerifyMessageSignature, CryptDecryptMessage, CryptEncodeObject, CryptEncodeObjectEx, CryptEncryptMessage, CryptEnumKeyIdentifierProperties, CryptEnumOIDFunction, CryptEnumOIDInfo, CryptExportPublicKeyInfo, CryptExportPublicKeyInfoEx, CryptExportPublicKeyInfoFromBCryptKeyHandle, CryptFindCertificateKeyProvInfo, CryptFindLocalizedName, CryptFindOIDInfo, CryptFormatObject, CryptFreeOIDFunctionAddress, CryptGetDefaultOIDDllList, CryptGetDefaultOIDFunctionAddress, CryptGetKeyIdentifierProperty, CryptGetMessageCertificates, CryptGetMessageSignerCount, CryptGetOIDFunctionAddress, CryptGetOIDFunctionValue, CryptHashCertificate, CryptHashCertificate2, CryptHashMessage, CryptHashPublicKeyInfo, CryptHashToBeSigned, 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, CryptRetrieveTimeStamp, CryptSetKeyIdentifierProperty, CryptSetOIDFunctionValue, CryptSignAndEncodeCertificate, CryptSignAndEncryptMessage, CryptSignCertificate, CryptSignMessage, CryptSignMessageWithKey, CryptSIPAddProvider, CryptSIPCreateIndirectData, CryptSIPGetCaps, CryptSIPGetSignedDataMsg, CryptSIPLoad, CryptSIPPutSignedDataMsg, CryptSIPRemoveProvider, CryptSIPRemoveSignedDataMsg, CryptSIPRetrieveSubjectGuid, CryptSIPRetrieveSubjectGuidForCatalogFile, CryptSIPVerifyIndirectData, CryptStringToBinary, CryptUninstallDefaultContext, CryptUnprotectData, CryptUnprotectMemory, CryptUnregisterDefaultOIDFunction, CryptUnregisterOIDFunction, CryptUnregisterOIDInfo, CryptUpdateProtectedState, CryptVerifyCertificateSignature, CryptVerifyCertificateSignatureEx, CryptVerifyDetachedMessageHash, CryptVerifyDetachedMessageSignature, CryptVerifyMessageHash, CryptVerifyMessageSignature, CryptVerifyMessageSignatureWithKey, CryptVerifyTimeStampSignature, 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, SslEnumCipherSuitesEx, SslEnumProtocolProviders, SslExpandExporterMasterKey, SslExpandTrafficKeys, SslExpandWriteKey, SslExportKey, SslExportKeyingMaterial, SslExtractEarlyKey, SslExtractHandshakeKey, SslExtractMasterKey, SslFreeBuffer, SslFreeObject, SslGenerateMasterKey, SslGenerateSessionKeys, SslGetCipherSuitePRFHashAlgorithm, SslGetKeyProperty, SslGetProviderProperty, SslHashHandshake, SslImportKey, SslImportMasterKey, SslIncrementProviderReferenceCount, SslLookupCipherLengths, SslLookupCipherSuiteInfo, SslOpenPrivateKey, SslOpenProvider, SslSignHash, SslVerifySignature, TokenBindingDeleteAllBindings, TokenBindingDeleteBinding, TokenBindingGenerateBinding, TokenBindingGenerateID, TokenBindingGenerateIDForUri, TokenBindingGenerateMessage, TokenBindingGetKeyTypesClient, TokenBindingGetKeyTypesServer, TokenBindingVerifyMessage

Structures
BCRYPT_ALG_HANDLE, BCRYPT_ALGORITHM_IDENTIFIER, BCRYPT_HANDLE, BCRYPT_HASH_HANDLE, BCRYPT_KEY_HANDLE, BCRYPT_MULTI_HASH_OPERATION, BCRYPT_OAEP_PADDING_INFO, BCRYPT_PKCS1_PADDING_INFO, BCRYPT_PROVIDER_NAME, BCRYPT_PSS_PADDING_INFO, BCRYPT_SECRET_HANDLE, CRYPT_CONTEXT_CONFIG, CRYPT_CONTEXT_FUNCTION_CONFIG, CRYPT_CONTEXT_FUNCTION_PROVIDERS, CRYPT_CONTEXT_FUNCTIONS, CRYPT_CONTEXTS, CRYPT_PROVIDERS, CERT_CONTEXT, CERT_EXTENSION, CERT_ID, CERT_INFO, CERT_ISSUER_SERIAL_NUMBER, CERT_PUBLIC_KEY_INFO, CERT_RDN, CERT_STRONG_SIGN_PARA, CERT_SYSTEM_STORE_INFO, CERT_TRUST_STATUS, CRYPT_ALGORITHM_IDENTIFIER, CRYPT_ATTRIBUTE_TYPE_VALUE, CRYPTOAPI_BLOB, CTL_USAGE, HCERTSTORE, HCRYPTPROV, HCRYPTKEY, HCRYPTHASH, NCRYPT_ALLOC_PARA, NCRYPT_HASH_HANDLE, NCRYPT_HANDLE, NCRYPT_KEY_HANDLE, NCRYPT_PROV_HANDLE, NCRYPT_SECRET_HANDLE, NCryptAlgorithmName, NCryptBuffer, NCryptBufferDesc, NCRYPT_DESCRIPTOR_HANDLE, NCRYPT_PROTECT_STREAM_INFO, NCRYPT_PROTECT_STREAM_INFO_EX, NCRYPT_STREAM_HANDLE, NCRYPT_SSL_CIPHER_LENGTHS, NCRYPT_SSL_CIPHER_SUITE, TOKENBINDING_IDENTIFIER, TOKENBINDING_KEY_TYPES, TOKENBINDING_RESULT_DATA, TOKENBINDING_RESULT_LIST