org.littleshoot.dnssec4j
Class VerifiedSocketFactory
java.lang.Object
javax.net.SocketFactory
org.littleshoot.dnssec4j.VerifiedSocketFactory
public class VerifiedSocketFactory
- extends SocketFactory
SocketFactory that wraps another delegate SocketFactory
and intercepts all factory calls to verify the DNSSEC records of hosts
before creating sockets.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VerifiedSocketFactory
public VerifiedSocketFactory(SocketFactory delegate)
createSocket
public Socket createSocket(String host,
int port)
throws IOException,
UnknownHostException
- Specified by:
createSocket in class SocketFactory
- Throws:
IOException
UnknownHostException
createSocket
public Socket createSocket(InetAddress host,
int port)
throws IOException
- Specified by:
createSocket in class SocketFactory
- Throws:
IOException
createSocket
public Socket createSocket(String host,
int port,
InetAddress localHost,
int localPort)
throws IOException,
UnknownHostException
- Specified by:
createSocket in class SocketFactory
- Throws:
IOException
UnknownHostException
createSocket
public Socket createSocket(InetAddress host,
int port,
InetAddress localAddress,
int localPort)
throws IOException
- Specified by:
createSocket in class SocketFactory
- Throws:
IOException
Copyright © 2011-2013 LittleShoot. All Rights Reserved.