PTLib
Version 2.10.4
|
#include <cypher.h>
Public Types | |
enum | ValidationState { Defaults, Pending, IsValid, Expired, Invalid } |
Public Member Functions | |
PSecureConfig (const PTEACypher::Key &productKey, const PStringArray &securedKeys, Source src=Application) | |
PSecureConfig (const PTEACypher::Key &productKey, const char *const *securedKeyArray, PINDEX count, Source src=Application) | |
const PStringArray & | GetSecuredKeys () const |
const PString & | GetSecurityKey () const |
const PString & | GetExpiryDateKey () const |
const PString & | GetOptionBitsKey () const |
const PString & | GetPendingPrefix () const |
void | GetProductKey (PTEACypher::Key &productKey) const |
ValidationState | GetValidation () const |
PBoolean | ValidatePending () |
void | ResetPending () |
Protected Attributes | |
PTEACypher::Key | productKey |
PStringArray | securedKeys |
PString | securityKey |
PString | expiryDateKey |
PString | optionBitsKey |
PString | pendingPrefix |
PSecureConfig::PSecureConfig | ( | const PTEACypher::Key & | productKey, |
const PStringArray & | securedKeys, | ||
Source | src = Application |
||
) |
PSecureConfig::PSecureConfig | ( | const PTEACypher::Key & | productKey, |
const char *const * | securedKeyArray, | ||
PINDEX | count, | ||
Source | src = Application |
||
) |
const PString& PSecureConfig::GetExpiryDateKey | ( | ) | const [inline] |
const PString& PSecureConfig::GetOptionBitsKey | ( | ) | const [inline] |
const PString& PSecureConfig::GetPendingPrefix | ( | ) | const [inline] |
void PSecureConfig::GetProductKey | ( | PTEACypher::Key & | productKey | ) | const |
const PStringArray& PSecureConfig::GetSecuredKeys | ( | ) | const [inline] |
const PString& PSecureConfig::GetSecurityKey | ( | ) | const [inline] |
ValidationState PSecureConfig::GetValidation | ( | ) | const |
void PSecureConfig::ResetPending | ( | ) |
PString PSecureConfig::expiryDateKey [protected] |
PString PSecureConfig::optionBitsKey [protected] |
PString PSecureConfig::pendingPrefix [protected] |
PTEACypher::Key PSecureConfig::productKey [protected] |
PStringArray PSecureConfig::securedKeys [protected] |
PString PSecureConfig::securityKey [protected] |