Package org.xbill.DNS
Class TSIG.StreamGenerator
java.lang.Object
org.xbill.DNS.TSIG.StreamGenerator
- Enclosing class:
TSIG
A utility class for generating signed message responses.
- Since:
- 3.5.3
-
Constructor Summary
ConstructorsConstructorDescriptionStreamGenerator(TSIG key, TSIGRecord queryTsig) Creates an instance to sign multiple message for use in a stream. -
Method Summary
-
Constructor Details
-
StreamGenerator
Creates an instance to sign multiple message for use in a stream.This class creates a
TSIGRecordon every message to conform with RFC 8945, 5.3.1.- Parameters:
key- The TSIG key used to create the signature records.queryTsig- The initial TSIG records, e.g. from a query to a server.
-
-
Method Details
-
generate
Generate TSIG a signature for use of the message in a stream.- Parameters:
message- The message to sign.
-