#include "Model/Classes/NMR_KeyStoreResourceData.h" #include "Common/NMR_Exception.h" #include namespace NMR { nfUint64 CKeyStoreResourceData::s_nfHandleCount = 0; CKeyStoreResourceData::CKeyStoreResourceData( PKeyStoreResourceDataGroup const & rdg, PPackageModelPath const& path, bool compression, eKeyStoreEncryptAlgorithm alg, std::vector const & iv, std::vector const & tag, std::vector const & aad) : CKeyStoreCEKParams(compression, alg, iv, tag, aad, ++s_nfHandleCount), m_pGroup(rdg), m_pPath(path) { } void CKeyStoreResourceData::setInitVector(std::vector const & newIV) { m_rgIv = newIV; } void CKeyStoreResourceData::setAuthTag(std::vector const & newTag) { m_rgTag = newTag; } }