Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Kea
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastian Schrader
Kea
Commits
dfd8332b
Commit
dfd8332b
authored
Jul 14, 2011
by
JINMEI Tatuya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[trac910] documentation update
parent
54c3708f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
src/lib/dns/tsig.h
src/lib/dns/tsig.h
+19
-2
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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