#include <payload_cert_req.h>
Inheritance diagram for openikev2::Payload_CERT_REQ:

Public Member Functions | |
| Payload_CERT_REQ (Enums::CERT_ENCODING encoding) | |
| Creates a new Payload_CERT_REQ setting its enconding. | |
| Payload_CERT_REQ (ByteBuffer &byte_buffer) | |
| Creates a new Payload_CERT_REQ based on its binary representation. | |
| Payload_CERT_REQ (const Payload_CERT_REQ &other) | |
| Creates a new Payload_CERT_REQ cloning another one. | |
| virtual void | addCaPublicKeyHash (auto_ptr< ByteArray > hash) |
| Adds a CA public key hash to the collection. | |
| virtual vector< ByteArray * > | getCaPublicKeyHashes () const |
| Gets all the CA public key hash from the collection. | |
| 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 | encoding |
| The requested certificate enconding. | |
Protected Attributes | |
| AutoVector< ByteArray > | ca_public_key_hash |
| CA public key SHA1 hash collection. | |
| openikev2::Payload_CERT_REQ::Payload_CERT_REQ | ( | Enums::CERT_ENCODING | encoding | ) |
| openikev2::Payload_CERT_REQ::Payload_CERT_REQ | ( | ByteBuffer & | byte_buffer | ) |
Creates a new Payload_CERT_REQ based on its binary representation.
| byte_buffer | Buffer with its read pointer at the "payload length" field |
| openikev2::Payload_CERT_REQ::Payload_CERT_REQ | ( | const Payload_CERT_REQ & | other | ) |
| void openikev2::Payload_CERT_REQ::addCaPublicKeyHash | ( | auto_ptr< ByteArray > | hash | ) | [virtual] |
Adds a CA public key hash to the collection.
| hash | Public key hash (must be 20 bytes length) |
| vector< ByteArray * > openikev2::Payload_CERT_REQ::getCaPublicKeyHashes | ( | ) | const [virtual] |
Gets all the CA public key hash from the collection.
| void openikev2::Payload_CERT_REQ::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_REQ::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_REQ::clone | ( | ) | const [virtual] |
1.5.1