ETSI STF525 / Internal Testing test suite This project provides an internal testing test suite and its associated Test Adapter/Codec

Public Member Functions | List of all members
EtsiTs103097Codec_Certificate Class Reference

`#include <EtsiTs103097Codec_Certificate.hh>`

Inheritance diagram for EtsiTs103097Codec_Certificate:

## Public Member Functions
| EtsiTs103097Codec_Certificate ()
virtual | ~EtsiTs103097Codec_Certificate ()
virtual int | encode (const IEEE1609dot2::CertificateBase &p_cert, OCTETSTRING &p_data)
| Encode typed message into an octet string. More...
virtual int | decode (const OCTETSTRING &p_data, IEEE1609dot2::CertificateBase &p_cert, Params *p_params=NULL)
| Encode typed message into an octet string format. More...
Public Member Functions inherited from Codec< IEEE1609dot2::CertificateBase, IEEE1609dot2::CertificateBase >
| Codec ()
| Reference to Params stack. More...
virtual | ~Codec ()
| Default destructor . More...

## Additional Inherited Members
Protected Attributes inherited from Codec< IEEE1609dot2::CertificateBase, IEEE1609dot2::CertificateBase >
Params * | _params

## Constructor & Destructor Documentation

## ◆ EtsiTs103097Codec_Certificate()

EtsiTs103097Codec_Certificate::EtsiTs103097Codec_Certificate | ( |  | ) |
| inline explicit

## ◆ ~EtsiTs103097Codec_Certificate()

virtual EtsiTs103097Codec_Certificate::~EtsiTs103097Codec_Certificate | ( |  | ) |
| inline virtual

## Member Function Documentation

## ◆ decode()

int EtsiTs103097Codec_Certificate::decode | ( | const OCTETSTRING & | p_,
|  | IEEE1609dot2::CertificateBase & | p_message,
|  | Params * | p_params = `NULL`
| ) |  |
| virtual

Encode typed message into an octet string format.

Parameters

  [in] | p_data | The message in its octet string
  [out] | p_message | The decoded typed message

Returns
  0 on success, -1 otherwise

Implements Codec< IEEE1609dot2::CertificateBase, IEEE1609dot2::CertificateBase >.

## ◆ encode()

int EtsiTs103097Codec_Certificate::encode | ( | const IEEE1609dot2::CertificateBase & | msg,
|  | OCTETSTRING & | data
| ) |  |
| virtual

Encode typed message into an octet string.

Parameters

  [in] | p_message | The typed message to be encoded
  [out] | p_data | The encoding result

Returns
  0 on success, -1 otherwise

Implements Codec< IEEE1609dot2::CertificateBase, IEEE1609dot2::CertificateBase >.

The documentation for this class was generated from the following files:

- /home/vagrant/TriesAndDelete/etsi_its/framework/include/EtsiTs103097Codec_Certificate.hh
- /home/vagrant/TriesAndDelete/etsi_its/framework/src/EtsiTs103097Codec_Certificate.cc