MicrosoftCryptProvider.h
Go to the documentation of this file.
1 #pragma once
5 
6 namespace AppSecInc
7 {
8  namespace Crypt
9  {
14  {
15  private:
16  HCRYPTPROV _hprov;
17  public:
18  HCRYPTPROV Peek() const { return _hprov; }
19  void Initialize();
20  void UnInitialize();
27  std::vector<BYTE> GenerateRandom(DWORD dwLen);
28  };
29  }
30 }
void UnInitialize()
Definition: MicrosoftCryptProvider.cpp:29
MicrosoftCryptProvider()
Definition: MicrosoftCryptProvider.cpp:6
void Initialize()
Definition: MicrosoftCryptProvider.cpp:20
std::vector< BYTE > GenerateRandom(DWORD dwLen)
Generate a random vector of bytes.
Definition: MicrosoftCryptProvider.cpp:39
Implements the Microsoft CryptProvider.
Definition: MicrosoftCryptProvider.h:13
~MicrosoftCryptProvider()
Definition: MicrosoftCryptProvider.cpp:12
HCRYPTPROV Peek() const
Definition: MicrosoftCryptProvider.h:18


© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com