#include <payload_cert.h>
Inheritance diagram for openikev2::Payload_CERT:

Public Member Functions | |
| Payload_CERT (Enums::CERT_ENCODING cert_encoding, auto_ptr< ByteArray > certificate_data) | |
| Creates a new Payload_CERT setting its attributes. | |
| Payload_CERT (Certificate &certificate) | |
| Creates a new Payload_CERT containing the binary representation of a certificate. | |
| Payload_CERT (const Payload_CERT &other) | |
| Creates a new Payload_CERT cloning another one. | |
| Payload_CERT (ByteBuffer &byte_buffer) | |
| Creates a new Payload_CERT based on its binary representation. | |
| virtual ByteArray & | getCertificateData () const |
| Gets the certificate data. | |
| virtual void | getBinaryRepresentation (ByteBuffer &byte_buffer) const |
| Appends the binary representation of the Payload at the end of the buffer, without the fixed header. | |
| virtual string | toStringTab (uint8_t tabs) const |
| Construct a textual representation of the object, preceded of a num of tabs of size TAB_SIZE. | |
| virtual auto_ptr< Payload > | clone () const |
| Cets a clone of this payload. | |
Public Attributes | |
| Enums::CERT_ENCODING | cert_encoding |
| Certificate encoding. | |
Protected Attributes | |
| auto_ptr< ByteArray > | certificate_data |
| Certificate data. | |
| openikev2::Payload_CERT::Payload_CERT | ( | Enums::CERT_ENCODING | cert_encoding, | |
| auto_ptr< ByteArray > | certificate_data | |||
| ) |
Creates a new Payload_CERT setting its attributes.
| cert_encoding | Certificate enconding | |
| certificate_data | Certificate data |
| openikev2::Payload_CERT::Payload_CERT | ( | Certificate & | certificate | ) |
Creates a new Payload_CERT containing the binary representation of a certificate.
| certificate | Certificate to be transported in the payload |
| openikev2::Payload_CERT::Payload_CERT | ( | const Payload_CERT & | other | ) |
| openikev2::Payload_CERT::Payload_CERT | ( | ByteBuffer & | byte_buffer | ) |
Creates a new Payload_CERT based on its binary representation.
| byte_buffer | Buffer with its read pointer at the "payload length" field |
| ByteArray & openikev2::Payload_CERT::getCertificateData | ( | ) | const [virtual] |
Gets the certificate data.
| void openikev2::Payload_CERT::getBinaryRepresentation | ( | ByteBuffer & | byte_buffer | ) | const [virtual] |
Appends the binary representation of the Payload at the end of the buffer, without the fixed header.
| byte_buffer | Byte buffer where append the binary representation |
Implements openikev2::Payload.
| string openikev2::Payload_CERT::toStringTab | ( | uint8_t | tabs | ) | const [virtual] |
Construct a textual representation of the object, preceded of a num of tabs of size TAB_SIZE.
| tabs | Num of tabs preceding the textual representation. |
Implements openikev2::Payload.
| auto_ptr< Payload > openikev2::Payload_CERT::clone | ( | ) | const [virtual] |
1.5.1