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

Wrapper for Microsoft crypto service provider. More...

Public Types

typedef unsigned long ProviderHandle
 

Public Member Functions

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

Detailed Description

Wrapper for Microsoft crypto service provider.

See also

Definition at line 40 of file osrng.h.

Member Function Documentation

§ GetProviderHandle()

ProviderHandle MicrosoftCryptoProvider::GetProviderHandle ( ) const
inline

Retrieves the CryptoAPI provider handle.

Returns
CryptoAPI provider handle

The handle is acquired by a call to CryptAcquireContext(). CryptReleaseContext() is called upon destruction.

Definition at line 60 of file osrng.h.

Referenced by NonblockingRng::GenerateBlock().


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