Crypto++  5.6.5
Free C++ class library of cryptographic schemes
Public Types | Public Member Functions | List of all members
MicrosoftCryptoProvider Class Reference

Public Types

typedef unsigned long ProviderHandle

Public Member Functions

 MicrosoftCryptoProvider ()
 Construct a MicrosoftCryptoProvider.
ProviderHandle GetProviderHandle () const
 Retrieves the provider handle. More...

Detailed Description

Definition at line 37 of file osrng.h.

Member Function Documentation

◆ GetProviderHandle()

ProviderHandle MicrosoftCryptoProvider::GetProviderHandle ( ) const

Retrieves the provider handle.

CryptoAPI provider handle

If USE_MS_CRYPTOAPI is in effect, then CryptAcquireContext() acquires then handle and CryptReleaseContext() releases the handle upon destruction. If USE_MS_CNGAPI is in effect, then BCryptOpenAlgorithmProvider() acquires then handle and BCryptCloseAlgorithmProvider() releases the handle upon destruction.

Definition at line 65 of file osrng.h.

The documentation for this class was generated from the following files: