wxExtend
Additional templates and function helpers for wxWidgets
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
wxCryptoSession Class Reference

Cryptographics Session Base Class. More...

#include <wxex/crypto.h>

Inheritance diagram for wxCryptoSession:
wxCryptoSessionRSAAES

Public Member Functions

 wxCryptoSession ()
 Creates a new cryptographics session.
 
virtual ~wxCryptoSession ()
 Destructor.
 
bool IsOk () const noexcept
 Has the session creation been successful?
 
 operator HCRYPTPROV () const noexcept
 

Protected Attributes

HCRYPTPROV m_h
 Session Handle.
 

Detailed Description

Cryptographics Session Base Class.

Member Function Documentation

◆ IsOk()

bool wxCryptoSession::IsOk ( ) const
inlinenoexcept

Has the session creation been successful?

Returns
  • true if creation succeeded
  • false otherwise

◆ operator HCRYPTPROV()

wxCryptoSession::operator HCRYPTPROV ( ) const
inlinenoexcept
Returns
Session handle to be used in native API calls.

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