~ubuntu-branches/ubuntu/wily/dnsjava/wily-proposed

« back to all changes in this revision

Viewing changes to doc/org/xbill/DNS/TSIG.StreamVerifier.html

  • Committer: Bazaar Package Importer
  • Author(s): Thierry Carrez
  • Date: 2009-07-21 15:17:03 UTC
  • Revision ID: james.westby@ubuntu.com-20090721151703-6v0107p1s3h7gv1c
Tags: upstream-2.0.6
ImportĀ upstreamĀ versionĀ 2.0.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
2
<!--NewPage-->
 
3
<HTML>
 
4
<HEAD>
 
5
<!-- Generated by javadoc (build 1.7.0) on Thu Jan 24 21:19:04 GMT-08:00 2008 -->
 
6
<TITLE>
 
7
TSIG.StreamVerifier (dnsjava documentation)
 
8
</TITLE>
 
9
 
 
10
<META NAME="date" CONTENT="2008-01-24">
 
11
 
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
 
13
 
 
14
<SCRIPT type="text/javascript">
 
15
function windowTitle()
 
16
{
 
17
    if (location.href.indexOf('is-external=true') == -1) {
 
18
        parent.document.title="TSIG.StreamVerifier (dnsjava documentation)";
 
19
    }
 
20
}
 
21
</SCRIPT>
 
22
<NOSCRIPT>
 
23
</NOSCRIPT>
 
24
 
 
25
</HEAD>
 
26
 
 
27
<BODY BGCOLOR="white" onload="windowTitle();">
 
28
<HR>
 
29
 
 
30
 
 
31
<!-- ========= START OF TOP NAVBAR ======= -->
 
32
<A NAME="navbar_top"><!-- --></A>
 
33
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 
34
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 
35
<TR>
 
36
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 
37
<A NAME="navbar_top_firstrow"><!-- --></A>
 
38
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 
39
  <TR ALIGN="center" VALIGN="top">
 
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 
42
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 
44
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 
45
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 
46
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 
47
  </TR>
 
48
</TABLE>
 
49
</TD>
 
50
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 
51
</EM>
 
52
</TD>
 
53
</TR>
 
54
 
 
55
<TR>
 
56
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
57
&nbsp;<A HREF="../../../org/xbill/DNS/TSIG.html" title="class in org.xbill.DNS"><B>PREV CLASS</B></A>&nbsp;
 
58
&nbsp;<A HREF="../../../org/xbill/DNS/TSIGRecord.html" title="class in org.xbill.DNS"><B>NEXT CLASS</B></A></FONT></TD>
 
59
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
60
  <A HREF="../../../index.html?org/xbill/DNS/TSIG.StreamVerifier.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 
61
&nbsp;<A HREF="TSIG.StreamVerifier.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 
62
&nbsp;<SCRIPT type="text/javascript">
 
63
  <!--
 
64
  if(window==top) {
 
65
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
 
66
  }
 
67
  //-->
 
68
</SCRIPT>
 
69
<NOSCRIPT>
 
70
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
 
71
</NOSCRIPT>
 
72
 
 
73
 
 
74
</FONT></TD>
 
75
</TR>
 
76
<TR>
 
77
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
78
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 
79
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
80
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 
81
</TR>
 
82
</TABLE>
 
83
<A NAME="skip-navbar_top"></A>
 
84
<!-- ========= END OF TOP NAVBAR ========= -->
 
85
 
 
86
<HR>
 
87
<!-- ======== START OF CLASS DATA ======== -->
 
88
<H2>
 
89
<FONT SIZE="-1">
 
90
org.xbill.DNS</FONT>
 
91
<BR>
 
92
Class TSIG.StreamVerifier</H2>
 
93
<PRE>
 
94
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
 
95
  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.xbill.DNS.TSIG.StreamVerifier</B>
 
96
</PRE>
 
97
<DL>
 
98
<DT><B>Enclosing class:</B><DD><A HREF="../../../org/xbill/DNS/TSIG.html" title="class in org.xbill.DNS">TSIG</A></DD>
 
99
</DL>
 
100
<HR>
 
101
<DL>
 
102
<DT><PRE>public static class <B>TSIG.StreamVerifier</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
 
103
</PRE>
 
104
 
 
105
<P>
 
106
<HR>
 
107
 
 
108
<P>
 
109
 
 
110
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
 
111
 
 
112
<A NAME="constructor_summary"><!-- --></A>
 
113
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
114
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
115
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 
116
<B>Constructor Summary</B></FONT></TH>
 
117
</TR>
 
118
<TR BGCOLOR="white" CLASS="TableRowColor">
 
119
<TD><CODE><B><A HREF="../../../org/xbill/DNS/TSIG.StreamVerifier.html#TSIG.StreamVerifier(org.xbill.DNS.TSIG, org.xbill.DNS.TSIGRecord)">TSIG.StreamVerifier</A></B>(<A HREF="../../../org/xbill/DNS/TSIG.html" title="class in org.xbill.DNS">TSIG</A>&nbsp;tsig,
 
120
                    <A HREF="../../../org/xbill/DNS/TSIGRecord.html" title="class in org.xbill.DNS">TSIGRecord</A>&nbsp;old)</CODE>
 
121
 
 
122
<BR>
 
123
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an object to verify a multiple message response</TD>
 
124
</TR>
 
125
</TABLE>
 
126
&nbsp;
 
127
<!-- ========== METHOD SUMMARY =========== -->
 
128
 
 
129
<A NAME="method_summary"><!-- --></A>
 
130
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
131
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
132
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 
133
<B>Method Summary</B></FONT></TH>
 
134
</TR>
 
135
<TR BGCOLOR="white" CLASS="TableRowColor">
 
136
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
137
<CODE>&nbsp;int</CODE></FONT></TD>
 
138
<TD><CODE><B><A HREF="../../../org/xbill/DNS/TSIG.StreamVerifier.html#verify(org.xbill.DNS.Message, byte[])">verify</A></B>(<A HREF="../../../org/xbill/DNS/Message.html" title="class in org.xbill.DNS">Message</A>&nbsp;m,
 
139
       byte[]&nbsp;b)</CODE>
 
140
 
 
141
<BR>
 
142
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Verifies a TSIG record on an incoming message that is part of a
 
143
 multiple message response.</TD>
 
144
</TR>
 
145
</TABLE>
 
146
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
 
147
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
148
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
 
149
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
 
150
</TR>
 
151
<TR BGCOLOR="white" CLASS="TableRowColor">
 
152
<TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
 
153
</TR>
 
154
</TABLE>
 
155
&nbsp;
 
156
<P>
 
157
 
 
158
<!-- ========= CONSTRUCTOR DETAIL ======== -->
 
159
 
 
160
<A NAME="constructor_detail"><!-- --></A>
 
161
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
162
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
163
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
 
164
<B>Constructor Detail</B></FONT></TH>
 
165
</TR>
 
166
</TABLE>
 
167
 
 
168
<A NAME="TSIG.StreamVerifier(org.xbill.DNS.TSIG, org.xbill.DNS.TSIGRecord)"><!-- --></A><H3>
 
169
TSIG.StreamVerifier</H3>
 
170
<PRE>
 
171
public <B>TSIG.StreamVerifier</B>(<A HREF="../../../org/xbill/DNS/TSIG.html" title="class in org.xbill.DNS">TSIG</A>&nbsp;tsig,
 
172
                           <A HREF="../../../org/xbill/DNS/TSIGRecord.html" title="class in org.xbill.DNS">TSIGRecord</A>&nbsp;old)</PRE>
 
173
<DL>
 
174
<DD>Creates an object to verify a multiple message response
 
175
<P>
 
176
</DL>
 
177
 
 
178
<!-- ============ METHOD DETAIL ========== -->
 
179
 
 
180
<A NAME="method_detail"><!-- --></A>
 
181
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
182
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
183
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
 
184
<B>Method Detail</B></FONT></TH>
 
185
</TR>
 
186
</TABLE>
 
187
 
 
188
<A NAME="verify(org.xbill.DNS.Message, byte[])"><!-- --></A><H3>
 
189
verify</H3>
 
190
<PRE>
 
191
public int <B>verify</B>(<A HREF="../../../org/xbill/DNS/Message.html" title="class in org.xbill.DNS">Message</A>&nbsp;m,
 
192
                  byte[]&nbsp;b)</PRE>
 
193
<DL>
 
194
<DD>Verifies a TSIG record on an incoming message that is part of a
 
195
 multiple message response.
 
196
 TSIG records must be present on the first and last messages, and
 
197
 at least every 100 records in between.
 
198
<P>
 
199
<DD><DL>
 
200
<DT><B>Parameters:</B><DD><CODE>m</CODE> - The message<DD><CODE>b</CODE> - The message in unparsed form
 
201
<DT><B>Returns:</B><DD>The result of the verification (as an Rcode)<DT><B>See Also:</B><DD><A HREF="../../../org/xbill/DNS/Rcode.html" title="class in org.xbill.DNS"><CODE>Rcode</CODE></A></DL>
 
202
</DD>
 
203
</DL>
 
204
<!-- ========= END OF CLASS DATA ========= -->
 
205
<HR>
 
206
 
 
207
 
 
208
<!-- ======= START OF BOTTOM NAVBAR ====== -->
 
209
<A NAME="navbar_bottom"><!-- --></A>
 
210
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
 
211
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 
212
<TR>
 
213
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 
214
<A NAME="navbar_bottom_firstrow"><!-- --></A>
 
215
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 
216
  <TR ALIGN="center" VALIGN="top">
 
217
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 
218
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 
219
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 
220
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 
221
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 
222
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 
223
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 
224
  </TR>
 
225
</TABLE>
 
226
</TD>
 
227
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 
228
</EM>
 
229
</TD>
 
230
</TR>
 
231
 
 
232
<TR>
 
233
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
234
&nbsp;<A HREF="../../../org/xbill/DNS/TSIG.html" title="class in org.xbill.DNS"><B>PREV CLASS</B></A>&nbsp;
 
235
&nbsp;<A HREF="../../../org/xbill/DNS/TSIGRecord.html" title="class in org.xbill.DNS"><B>NEXT CLASS</B></A></FONT></TD>
 
236
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
237
  <A HREF="../../../index.html?org/xbill/DNS/TSIG.StreamVerifier.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 
238
&nbsp;<A HREF="TSIG.StreamVerifier.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 
239
&nbsp;<SCRIPT type="text/javascript">
 
240
  <!--
 
241
  if(window==top) {
 
242
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
 
243
  }
 
244
  //-->
 
245
</SCRIPT>
 
246
<NOSCRIPT>
 
247
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
 
248
</NOSCRIPT>
 
249
 
 
250
 
 
251
</FONT></TD>
 
252
</TR>
 
253
<TR>
 
254
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
255
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 
256
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
257
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 
258
</TR>
 
259
</TABLE>
 
260
<A NAME="skip-navbar_bottom"></A>
 
261
<!-- ======== END OF BOTTOM NAVBAR ======= -->
 
262
 
 
263
<HR>
 
264
 
 
265
</BODY>
 
266
</HTML>