public class SecureMessage
extends org.xbill.DNS.Message
Constructor and Description |
---|
SecureMessage(org.xbill.DNS.Message msg)
Creates a new instance of this class based on data received from a
dnssecjava resolve.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBogusReason()
If the result is bogus this contains a string that describes the failure.
|
boolean |
isBogus()
Indicates if there was a validation failure.
|
boolean |
isSecure()
Indicates whether the answer is secure.
|
java.lang.String |
toString()
Converts the Message to a String.
|
addRecord, clone, findRecord, findRecord, findRRset, findRRset, getHeader, getOPT, getQuestion, getRcode, getSectionArray, getSectionRRsets, getTSIG, isSigned, isVerified, newQuery, newUpdate, numBytes, removeAllRecords, removeRecord, sectionToString, setHeader, setTSIG, toWire, toWire
public SecureMessage(org.xbill.DNS.Message msg) throws java.io.IOException
msg
- The answer of the dnssecjava resolver.java.io.IOException
public boolean isSecure()
public boolean isBogus()
public java.lang.String getBogusReason()
public java.lang.String toString()
toString
in class org.xbill.DNS.Message
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.