Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
dfd8332b
Commit
dfd8332b
authored
Jul 14, 2011
by
JINMEI Tatuya
Browse files
[trac910] documentation update
parent
54c3708f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dns/tsig.h
View file @
dfd8332b
...
...
@@ -353,8 +353,25 @@ public:
TSIGError
verify
(
const
TSIGRecord
*
const
record
,
const
void
*
const
data
,
const
size_t
data_len
);
/// TBD: mostly for internal use. context dependent.
/// won't provide python binding.
/// Return the expected length of TSIG RR after \c sign()
///
/// This method returns the length of the TSIG RR based that would be
/// produced as a result of \c sign() with the state of the context
/// at the time of the call. The expected length can be decided
/// from the key and the algorithm (which determines the MAC size if
/// included) and the recorded TSIG error. Specifically, if a key
/// related error has been identified, the MAC will be excluded; if
/// a time error has occurred, the TSIG will include "other data".
///
/// This method is provided mainly for the convenient of the Message class,
/// which needs to know the expected TSIG length in rendering a signed
/// DNS message so that it can handle truncated messages with TSIG
/// correctly. Normal applications wouldn't need this method. The Python
/// binding for this method won't be provided for the same reason.
///
/// \exception None
///
/// \return The expected TISG RR length in bytes
size_t
getTSIGLength
()
const
;
/// Return the current state of the context
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment