DSInfo Class Reference
DSInfo Class.
More...
#include <DSInfo.H>
List of all members.
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 (deprecated by RFC5910).
|
unsigned int | get_max_sig_life () const |
| Returns the maximum signature life (deprecated by RFC5910).
|
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 (string secDnsVersion="1.1") 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 |
unsigned int | _algo |
unsigned int | _digest_type |
string | _digest |
unsigned int | _max_sig_life |
KeyData | _key_data |
Detailed Description
DSInfo Class.
Member Function Documentation
unsigned int DSInfo::get_algo |
( |
|
) |
const [inline] |
Returns the algorithm.
- Returns:
- algorithm
string DSInfo::get_digest |
( |
|
) |
const [inline] |
Returns the digest.
- Returns:
- digest
unsigned int DSInfo::get_digest_type |
( |
|
) |
const [inline] |
Returns the digest type.
- Returns:
- digest type
KeyData DSInfo::get_key_data |
( |
|
) |
const [inline] |
Returns the key data.
- Returns:
- key data
unsigned int DSInfo::get_key_tag |
( |
|
) |
const [inline] |
Returns the key tag.
- Returns:
- key tag
unsigned int DSInfo::get_max_sig_life |
( |
|
) |
const [inline] |
Returns the maximum signature life (deprecated by RFC5910).
- Returns:
- maximum signature life
string DSInfo::get_xml_format |
( |
string |
secDnsVersion = "1.1" |
) |
const [inline] |
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 (deprecated by RFC5910).
- Parameters:
-
| max_sig_life | the maximum signature life |
Referenced by SheppObjSet::dsInfo().
The documentation for this class was generated from the following file: