|
wxExtend
Additional templates and function helpers for wxWidgets
|
SHA-1 Cryptographics Hash. More...
#include <wxex/crypto.h>
Public Member Functions | |
| wxCryptoHashSHA1 (wxCryptoSession &session) | |
| Creates a new cryptographics SHA-1 hash. | |
| virtual bool | GetValue (wxMemoryBuffer &hash) |
| Finish hashing and return hash data. | |
Public Member Functions inherited from wxCryptoHash | |
| wxCryptoHash () | |
| Creates a new cryptographics hash. | |
| virtual | ~wxCryptoHash () |
| Destructor. | |
| bool | IsOk () const noexcept |
| Has the hash creation been successful? | |
| operator HCRYPTHASH () const noexcept | |
| bool | Hash (_In_reads_bytes_(size) const void *data, size_t size) |
| Hashes given block of data. | |
| bool | Hash (const wxMemoryBuffer &data) |
| Hashes given block of data. | |
| bool | HashAsUTF8 (const wxString &str) |
| Converts string to UTF-8 and hashes it. | |
| bool | HashFile (const wxString &fileName) |
| Hashes a file. | |
| bool | Sign (wxMemoryBuffer &signature) |
| Signs the hash using session key. | |
| wxMemoryBuffer | Sign () |
| Signs the hash using session key. | |
Additional Inherited Members | |
Protected Attributes inherited from wxCryptoHash | |
| HCRYPTHASH | m_h |
| Hash Handle. | |
SHA-1 Cryptographics Hash.
|
virtual |
Finish hashing and return hash data.
| [out] | hash | Hash data |
true if succeededfalse otherwise Reimplemented from wxCryptoHash.