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

public Class DANEEntryStoreBuilder

extends Object
Class Inheritance

Builder for the DANECertificateStore.

Field Summary

Modifier and TypeField and Description
private final DANEEntryFetcherFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public DANEEntryStore

Returns:

a Store of DANEEntry representing the _smimecert entries containing certificates.
build
(String
the domain name to look up the _smimecert entries in.
domainName
)

Build a DANECertificateStore from the provided domainName details.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

daneEntryFetcherback to summary
private final DANEEntryFetcherFactory daneEntryFetcher

Constructor Detail

DANEEntryStoreBuilderback to summary
public DANEEntryStoreBuilder(DANEEntryFetcherFactory daneEntryFetcher)

Method Detail

buildback to summary
public DANEEntryStore build(String domainName) throws DANEException

Build a DANECertificateStore from the provided domainName details.

Parameters
domainName:String

the domain name to look up the _smimecert entries in.

Returns:DANEEntryStore

a Store of DANEEntry representing the _smimecert entries containing certificates.

Exceptions
DANEException:
in the case of a DNS issue or encoding issue with a DNS record.