#include <DSInfo.H>
Classes | |
struct | KeyData |
Public Member Functions | |
DSInfo & | operator= (const DSInfo &dsInfo) |
DSInfo () | |
Default constructor. | |
void | set_key_tag (const unsigned int key_tag) |
Sets key tag. | |
unsigned int | get_key_tag () const |
Returns the key tag. | |
void | set_algo (const unsigned int algo) |
Sets algorithm. | |
unsigned int | get_algo () const |
Returns the algorithm. | |
void | set_digest_type (const unsigned int digest_type) |
Sets the digest type. | |
unsigned int | get_digest_type () const |
Returns the digest type. | |
void | set_digest (const string &digest) |
Sets the digest. | |
string | get_digest () const |
Returns the digest. | |
void | set_max_sig_life (const unsigned int max_sig_life) |
Sets the maximum signature life. | |
unsigned int | get_max_sig_life () const |
Returns the maximum signature life. | |
void | set_key_data (const KeyData &key_data) |
Sets the key data. | |
KeyData | get_key_data () const |
Returns the key data. | |
bool | hasKeyData () const |
Returns what it means to. | |
string | get_xml_format () const |
Returns the xml format. | |
void | reset () |
Reset all object attributes. | |
Protected Attributes | |
bool | _key_tag_f |
bool | _algo_f |
bool | _digest_type_f |
bool | _digest_f |
bool | _hasKeyData |
unsigned int | _key_tag |
DS Info attributes. | |
unsigned int | _algo |
unsigned int | _digest_type |
string | _digest |
unsigned int | _max_sig_life |
KeyData | _key_data |
unsigned int DSInfo::get_algo | ( | ) | const [inline] |
Returns the algorithm.
string DSInfo::get_digest | ( | ) | const [inline] |
Returns the digest.
unsigned int DSInfo::get_digest_type | ( | ) | const [inline] |
Returns the digest type.
KeyData DSInfo::get_key_data | ( | ) | const [inline] |
Returns the key data.
unsigned int DSInfo::get_key_tag | ( | ) | const [inline] |
unsigned int DSInfo::get_max_sig_life | ( | ) | const [inline] |
Returns the maximum signature life.
string DSInfo::get_xml_format | ( | ) | const [inline] |
Returns the xml format.
References _key_tag, StrUtil::esc_xml_markup(), and StrUtil::to_string().
void DSInfo::set_algo | ( | const unsigned int | algo | ) | [inline] |
void DSInfo::set_digest | ( | const string & | digest | ) | [inline] |
void DSInfo::set_digest_type | ( | const unsigned int | digest_type | ) | [inline] |
void DSInfo::set_key_data | ( | const KeyData & | key_data | ) | [inline] |
void DSInfo::set_key_tag | ( | const unsigned int | key_tag | ) | [inline] |
void DSInfo::set_max_sig_life | ( | const unsigned int | max_sig_life | ) | [inline] |
Sets the maximum signature life.
max_sig_life | the maximum signature life |
Referenced by SheppObjSet::dsInfo().