|
ByteBuffer | encode () const |
|
bool | decode (const ByteBuffer &buffer) |
|
bool | decode (ByteBuffer::const_iterator begin, ByteBuffer::const_iterator end) |
|
bool | decode (const void *buffer, std::size_t len) |
|
std::size_t | size () const |
|
asn1c_type & | operator* () |
|
const asn1c_type & | operator* () const |
|
asn1c_type * | operator-> () |
|
const asn1c_type * | operator-> () const |
|
const asn1c_type * | content () const |
|
asn1c_type * | content () |
|
bool | validate () const |
|
bool | validate (std::string &error) const |
|
void | swap (asn1c_wrapper_common &other) noexcept |
|
Definition at line 16 of file certificate.hpp.
◆ asn1c_type
◆ base
◆ Certificate()
Certificate::Certificate |
( |
| ) |
|
◆ content() [1/2]
◆ content() [2/2]
◆ decode() [1/3]
◆ decode() [2/3]
Try to decode ASN.1 struct from byte buffer
- Parameters
-
- Deprecated:
- use decode_per instead
- Returns
- true if decoding has been successful
Definition at line 190 of file asn1c_wrapper.hpp.
◆ decode() [3/3]
◆ encode()
Encode ASN.1 struct into byte buffer
- Returns
- byte buffer containing serialized ASN.1 struct
Definition at line 179 of file asn1c_wrapper.hpp.
◆ operator*() [1/2]
◆ operator*() [2/2]
◆ operator->() [1/2]
◆ operator->() [2/2]
◆ size()
Get size of encoded ASN.1 struct
- Returns
- size in bytes
Definition at line 209 of file asn1c_wrapper.hpp.
◆ swap()
◆ validate() [1/2]
Check ASN.1 constraints
- Parameters
-
error | (optional) copy of error message |
- Returns
- true if valid
Definition at line 81 of file asn1c_wrapper.hpp.
◆ validate() [2/2]
Check ASN.1 constraints
- Parameters
-
error | Error message if any constraint failed |
- Returns
- true if valid
Definition at line 91 of file asn1c_wrapper.hpp.
◆ m_struct
◆ m_type
The documentation for this struct was generated from the following files: