libtins
4.0
|
#include <icmpv6.h>
Public Types | |
typedef std::vector< uint8_t > | signature_type |
Public Member Functions | |
template<typename RAIterator , typename ForwardIterator > | |
rsa_sign_type (RAIterator hash, ForwardIterator start, ForwardIterator end) | |
Constructs a rsa_sign_type object. More... | |
template<typename RAIterator > | |
rsa_sign_type (RAIterator hash, const signature_type &sign) | |
Constructs a rsa_sign_type object. More... | |
rsa_sign_type () | |
Default constructs a rsa_sign_type. More... | |
Static Public Member Functions | |
static rsa_sign_type | from_option (const option &opt) |
Public Attributes | |
uint8_t | key_hash [16] |
signature_type | signature |
The type used to store the RSA signature option.
|
inline |
Constructs a rsa_sign_type object.
The first parameter must be a random access iterator which will be used to initialize the key_hash member. It is assumed that std::distance(hash, end_of_hash) >= 16.
The second and third arguments indicate the start and end of the sequence which will be used to initialize the signature member.
hash | A random access iterator used to initialize the key_hash member. |
start | A forward iterator pointing to the start of the sequence which will be used to initialize the signature member. |
end | A forward iterator pointing to the end of the sequence used to initialize signature. |
|
inline |
Constructs a rsa_sign_type object.
The first parameter must be a random access iterator which will be used to initialize the key_hash member. It is assumed that std::distance(hash, end_of_hash) >= 16.
hash | A random access iterator used to initialize the key_hash member. |
sign | The signature to be set. |
|
inline |
Default constructs a rsa_sign_type.
The key_hash member will be 0-initialized.