Compare Revisions

The credentials to download the source code are:
 Username: svnusers
 Password: svnusers

Ignore whitespace Rev 3350 → Rev 3351

/branches/STF525/ccsrc/Protocols/Security/security_db_record.cc
33,6 → 33,10
): _algorithm{ec_elliptic_curves::nist_p_256}, _certificate_id(p_certificate_id), _certificate(p_certificate), _hashed_id_issuer(p_hashed_id_issuer), _hash(p_hash), _hashed_id(p_hashed_id), _pr_key(p_pr_key), _pu_key_x(p_pu_key_x), _pu_key_y(p_pu_key_y), _pu_comp_key(p_pu_comp_key), _pr_enc_key(p_pr_enc_key), _pu_enc_key_x(p_pu_enc_key_x), _pu_enc_key_y(p_pu_enc_key_y), _pu_enc_comp_key(p_pu_enc_comp_key), _to_be_saved(p_to_be_saved), _decoded_certificate(static_cast<IEEE1609dot2::CertificateBase*>(p_decoded_certificate.clone())) {
}
 
security_db_record::~security_db_record() {
if (_decoded_certificate != nullptr) { delete _decoded_certificate; }
};
 
const IEEE1609dot2::CertificateBase& security_db_record::decoded_certificate() const {
return *_decoded_certificate;
}
/branches/STF525/ccsrc/Protocols/Security/security_db_record.hh
71,7 → 71,7
/*!
* \brief Default dtor
*/
~security_db_record() { if (_decoded_certificate != nullptr) { delete _decoded_certificate; } };
~security_db_record();
 
/*!
* \fn const IEEE1609dot2::CertificateBase& decoded_certificate() const;