#include <PKIFCryptoPPKAContext.h>
This implementation maintains the secret state as a buffer pointer, so any future backend (i.e. NOT CNG) that can handle that could reasonably reuse this.
TSP-enforcing: No
Definition at line 31 of file PKIFCryptoPPKAContext.h.
Public Member Functions | |
CPKIFCryptoPPKAContext () | |
~CPKIFCryptoPPKAContext () | |
void | SetSecret (const CPKIFBufferPtr &secret) |
CPKIFBufferPtr | GetSecret () |
CPKIFCryptoPPKAContext::CPKIFCryptoPPKAContext | ( | ) |
Definition at line 20 of file PKIFCryptoPPKAContext.cpp.
CPKIFCryptoPPKAContext::~CPKIFCryptoPPKAContext | ( | ) |
Definition at line 25 of file PKIFCryptoPPKAContext.cpp.
References CPKIFCryptoPPKAContextImpl::m_secret, and PKIFZero().
void CPKIFCryptoPPKAContext::SetSecret | ( | const CPKIFBufferPtr & | secret | ) |
Definition at line 37 of file PKIFCryptoPPKAContext.cpp.
References CPKIFCryptoPPKAContextImpl::m_secret, and PKIFZero().
CPKIFBufferPtr CPKIFCryptoPPKAContext::GetSecret | ( | ) |
Definition at line 49 of file PKIFCryptoPPKAContext.cpp.
References CPKIFCryptoPPKAContextImpl::m_secret.