Top Description Fields Constructors Methods
org.bouncycastle.cert.dane.fetcher

public Class JndiDANEFetcherFactory

extends Object
implements DANEEntryFetcherFactory
Class Inheritance
All Implemented Interfaces
org.bouncycastle.cert.dane.DANEEntryFetcherFactory
Imports
java.io.IOException, java.util.ArrayList, .Hashtable, .Iterator, .List, javax.naming.Binding, .Context, .NamingEnumeration, .NamingException, javax.naming.directory.Attribute, .Attributes, .DirContext, .InitialDirContext, org.bouncycastle.cert.dane.DANEEntry, .DANEEntryFetcher, .DANEEntryFetcherFactory, .DANEException

A DANE entry fetcher implemented using JNDI.

Field Summary

Modifier and TypeField and Description
private static final String
private List<E>
private boolean

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
addEntries(List<E> entries, String domainName, Attribute smimeAttr)

public DANEEntryFetcher

Returns:

a resolver for fetching entry's associated with domainName.
build
(final String
the domain name of interest.
domainName
)

Implements org.bouncycastle.cert.dane.DANEEntryFetcherFactory.build.

Build an entry fetcher for the specified domain name.
public JndiDANEFetcherFactory

Returns:

the current factory..
setAuthoritative
(boolean
true if requests must be authoritative, false otherwise.
isAuthoritative
)

Specify requests must be authoritative, or not (default false).

public JndiDANEFetcherFactory

Returns:

the current factory.
usingDNSServer
(String
IP address/name of the dns server
dnsServer
)

Specify the dnsServer to use.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DANE_TYPEback to summary
private static final String DANE_TYPE
dnsServerListback to summary
private List<E> dnsServerList
isAuthoritativeback to summary
private boolean isAuthoritative

Constructor Detail

JndiDANEFetcherFactoryback to summary
public JndiDANEFetcherFactory()

Method Detail

addEntriesback to summary
private void addEntries(List<E> entries, String domainName, Attribute smimeAttr) throws NamingException, DANEException
buildback to summary
public DANEEntryFetcher build(final String domainName)

Implements org.bouncycastle.cert.dane.DANEEntryFetcherFactory.build.

Build an entry fetcher for the specified domain name.

Parameters
domainName:String

the domain name of interest.

Returns:DANEEntryFetcher

a resolver for fetching entry's associated with domainName.

setAuthoritativeback to summary
public JndiDANEFetcherFactory setAuthoritative(boolean isAuthoritative)

Specify requests must be authoritative, or not (default false).

Parameters
isAuthoritative:boolean

true if requests must be authoritative, false otherwise.

Returns:JndiDANEFetcherFactory

the current factory..

usingDNSServerback to summary
public JndiDANEFetcherFactory usingDNSServer(String dnsServer)

Specify the dnsServer to use.

Parameters
dnsServer:String

IP address/name of the dns server

Returns:JndiDANEFetcherFactory

the current factory.