|
| cPEM () noexcept |
|
| ~cPEM () noexcept |
|
HRESULT | ReadPEM (const char *pszType, const BYTE *pData, const BYTE *pPassword=nullptr, size_t nPassSize=0) |
|
| UNITTEST_FRIEND (cPEM) |
|
| cHeapBlock () noexcept |
|
| cHeapBlock (const THIS_t &ref) |
|
| cHeapBlock (THIS_t &&ref) noexcept |
|
| cHeapBlock (size_t nSize) |
|
| cHeapBlock (const void *pDataCopy, size_t nSize) |
|
| ~cHeapBlock () |
|
THIS_t & | operator= (const THIS_t &ref) |
|
THIS_t & | operator= (THIS_t &&ref) |
|
bool | isValidRead () const noexcept |
|
bool | isCorrupt () const noexcept |
|
size_t | get_AllocSize () const |
|
size_t | GetHeapStats (OUT ITERATE_t &iAllocCount) const |
|
void | Free () |
|
void | FreeSecure () |
|
void | SetHeapBlock (void *pData, size_t nSize) |
|
void | DetachHeapBlock () |
|
bool | Alloc (size_t nSize) |
|
bool | Alloc (const void *pData, size_t nSize) |
|
bool | ReAlloc (size_t nSize) |
|
bool | ReAlloc (const void *pData, size_t nSize) |
|
bool | ReAllocLazy (size_t iSizeNew) |
|
bool | SetCopy (const cHeapBlock &rSrc) |
|
void * | get_Data () const noexcept |
|
BYTE * | get_DataBytes () const noexcept |
|
char * | get_DataA () const noexcept |
|
wchar_t * | get_DataW () const noexcept |
|
| operator void * () const noexcept |
|
| operator BYTE * () const noexcept |
|
| operator char * () const noexcept |
|
| cMemBlock () noexcept |
|
| cMemBlock (const void *pData, size_t nSize) noexcept |
|
| cMemBlock (const cMemBlock &block) noexcept |
|
| cMemBlock (const cMemBlock *pBlock) noexcept |
|
size_t | get_DataSize () const noexcept |
|
void * | get_Data () const noexcept |
|
BYTE * | get_DataBytes () const noexcept |
|
char * | get_DataA () const noexcept |
|
| operator const BYTE * () const noexcept |
|
bool | isValidPtr () const noexcept |
|
bool | IsValidIndex (size_t i) const noexcept |
|
bool | IsValidIndex2 (size_t i) const noexcept |
|
bool | IsValidPtr (const void *p) const noexcept |
|
bool | IsValidPtr2 (const void *p) const noexcept |
|
bool | IsZeros () const noexcept |
|
bool | IsEqualData (const void *pData, size_t nSize) const noexcept |
|
bool | IsEqualData (const cMemBlock *pData) const noexcept |
|
bool | IsEqualData (const cMemBlock &data) const noexcept |
|
BYTE * | GetOffset (size_t nOffset) const |
|
const void * | get_DataEnd () const noexcept |
|
void | put_DataPtr (void *pStart) noexcept |
|
void | put_Size (size_t nSize) noexcept |
|
void | SetBlock (void *pData, size_t nSize) noexcept |
|
void | SetEmptyBlock () noexcept |
|
void | InitZeros () noexcept |
|
StrLen_t | ConvertToString (char *pszDst, StrLen_t iDstSizeMax) const |
|
|
static bool GRAYCALL | ReadIV (const char *s, BYTE *pIV, size_t nIVSize) |
|
static void GRAYCALL | DecryptPrep (BYTE *pKey, size_t nKeySize, BYTE *pIV, const BYTE *pPassword, size_t nPassSize) |
|
static void GRAYCALL | DecryptDES (BYTE pIV[8], BYTE *pBuffer, size_t nSizeBuf, const BYTE *pPassword, size_t nPassSize) |
|
static void GRAYCALL | DecryptDES3 (BYTE pIV[8], BYTE *pBuffer, size_t nSizeBuf, const BYTE *pPassword, size_t nPassSize) |
|
static void GRAYCALL | DecryptAES (BYTE pIV[16], UINT nKeySize, BYTE *pBuffer, size_t nSizeBuf, const BYTE *pPassword, size_t nPassSize) |
|
PEM file/format read/write helper Certificate/Key File format. PEM or Privacy Enhanced Mail is a Base64 encoded DER certificate. X509_FORMAT_PEM PEM certificates are frequently used for web servers as they can easily be translated into readable data using a simple text editor. Generally when a PEM encoded file is opened in a text editor, it contains very distinct headers and footers. These files may also bear the .CER or the .CRT extension. But the extension may also be used by other formats.