Class JndiDANEFetcherFactory
java.lang.Object
org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory
- All Implemented Interfaces:
DANEEntryFetcherFactory
A DANE entry fetcher implemented using JNDI.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBuild an entry fetcher for the specified domain name.setAuthoritative(boolean isAuthoritative) Specify requests must be authoritative, or not (default false).usingDNSServer(String dnsServer) Specify the dnsServer to use.
-
Constructor Details
-
JndiDANEFetcherFactory
public JndiDANEFetcherFactory()
-
-
Method Details
-
usingDNSServer
Specify the dnsServer to use.- Parameters:
dnsServer- IP address/name of the dns server- Returns:
- the current factory.
-
setAuthoritative
Specify requests must be authoritative, or not (default false).- Parameters:
isAuthoritative- true if requests must be authoritative, false otherwise.- Returns:
- the current factory..
-
build
Build an entry fetcher for the specified domain name.- Specified by:
buildin interfaceDANEEntryFetcherFactory- Parameters:
domainName- the domain name of interest.- Returns:
- a resolver for fetching entry's associated with domainName.
-