net.java.sip.communicator.util.dns
Class ConfigurableDnssecResolver
java.lang.Object
net.java.sip.communicator.util.dns.UnboundResolver
net.java.sip.communicator.util.dns.ConfigurableDnssecResolver
- All Implemented Interfaces:
- org.xbill.DNS.Resolver
public class ConfigurableDnssecResolver
- extends UnboundResolver
Resolver that wraps a DNSSEC capable resolver and handles validation
failures according to the user's settings.
- Author:
- Ingo Bauersachs
|
Method Summary |
protected void |
validateMessage(SecureMessage msg)
Inspects a DNS answer message and handles validation results according to
the user's preferences. |
| Methods inherited from class net.java.sip.communicator.util.dns.UnboundResolver |
addTrustAnchor, send, sendAsync, setEDNS, setEDNS, setForwarders, setIgnoreTruncation, setPort, setTCP, setTimeout, setTimeout, setTSIGKey |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PNAME_DNSSEC_VALIDATION_MODE
public static final String PNAME_DNSSEC_VALIDATION_MODE
- Name of the property that defines the default DNSSEC validation
behavior.
- See Also:
- Constant Field Values
PNAME_BASE_DNSSEC_PIN
public static final String PNAME_BASE_DNSSEC_PIN
- Default value of
PNAME_DNSSEC_VALIDATION_MODE
- See Also:
- Constant Field Values
EVENT_TYPE
static final String EVENT_TYPE
- See Also:
- Constant Field Values
ConfigurableDnssecResolver
public ConfigurableDnssecResolver()
- Creates a new instance of this class. Tries to use the system's
default forwarders.
validateMessage
protected void validateMessage(SecureMessage msg)
throws DnssecRuntimeException
- Inspects a DNS answer message and handles validation results according to
the user's preferences.
- Overrides:
validateMessage in class UnboundResolver
- Parameters:
msg - The message to inspect.
- Throws:
DnssecRuntimeException - when the validation failed and the user
did not choose to ignore it.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.