EtsiTs103097Codec_ToBeSignedCertificate.hh
Go to the documentation of this file.
#ifndef EtsiTs103097CODEC_TBSCERT_H
#define EtsiTs103097CODEC_TBSCERT_H
#include "Codec.hh"
//#include "CodecOer.hh"
#include "Params.hh"
#include "EtsiTs103097Module.hh"
//class BITSTRING;
//class OCTETSTRING;
//class IEEE1609dot2::ToBeSignedCertificate;
// class EtsiTs103097PDUCodec// : public OERCodec <IEEE1609dot2::ToBeSignedCertificate>
// {
// public:
// explicit EtsiTs103097PDUCodec() { };
// virtual int encode (const IEEE1609dot2::ToBeSignedCertificate& p_cert, BITSTRING& data);
// virtual int decode (const BITSTRING& data, IEEE1609dot2::ToBeSignedCertificate&);
// };
class EtsiTs103097Codec_ToBeSignedCertificate : public Codec<IEEE1609dot2::ToBeSignedCertificate, IEEE1609dot2::ToBeSignedCertificate>
{
// EtsiTs103097PDUCodec asnCodec;
public:
// explicit EtsiTs103097Codec_ToBeSignedCertificate() : Codec<IEEE1609dot2::ToBeSignedCertificate, IEEE1609dot2::ToBeSignedCertificate>(), asnCodec() { };
explicit EtsiTs103097Codec_ToBeSignedCertificate() : Codec<IEEE1609dot2::ToBeSignedCertificate, IEEE1609dot2::ToBeSignedCertificate>() { };
virtual ~EtsiTs103097Codec_ToBeSignedCertificate() { };
virtual int encode (const IEEE1609dot2::ToBeSignedCertificate& p_cert, OCTETSTRING& p_data);
virtual int decode (const OCTETSTRING& p_data, IEEE1609dot2::ToBeSignedCertificate& p_cert, Params* p_params = NULL);
};
#endif
Params.hh
Header file for the parameter dictionary.
IEEE1609dot2
Definition: security_db_record.hh:8
Codec
Declare TITAN class.
Definition: Codec.hh:25
EtsiTs103097Codec_ToBeSignedCertificate::~EtsiTs103097Codec_ToBeSignedCertificate
virtual ~EtsiTs103097Codec_ToBeSignedCertificate()
Definition: EtsiTs103097Codec_ToBeSignedCertificate.hh:28
Params
This class provides basic functionalities for an ITS dictionary.
Definition: Params.hh:21
EtsiTs103097Codec_ToBeSignedCertificate::EtsiTs103097Codec_ToBeSignedCertificate
EtsiTs103097Codec_ToBeSignedCertificate()
Definition: EtsiTs103097Codec_ToBeSignedCertificate.hh:27
EtsiTs103097Codec_ToBeSignedCertificate
Definition: EtsiTs103097Codec_ToBeSignedCertificate.hh:21
EtsiTs103097Codec_ToBeSignedCertificate::decode
virtual int decode(const OCTETSTRING &p_data, IEEE1609dot2::ToBeSignedCertificate &p_cert, Params *p_params=NULL)
Encode typed message into an octet string format.
Definition: EtsiTs103097Codec_ToBeSignedCertificate.cc:23
Codec.hh
Header file for ITS abstract codec definition.
EtsiTs103097Codec_ToBeSignedCertificate::encode
virtual int encode(const IEEE1609dot2::ToBeSignedCertificate &p_cert, OCTETSTRING &p_data)
Encode typed message into an octet string.
Definition: EtsiTs103097Codec_ToBeSignedCertificate.cc:9