Bouncy Castle Cryptography Library 1.79

org.bouncycastle.cert.dane
Class DANEEntryStoreBuilder

java.lang.Object
  |
  +--org.bouncycastle.cert.dane.DANEEntryStoreBuilder

public class DANEEntryStoreBuilder
extends java.lang.Object

Builder for the DANECertificateStore.


Constructor Summary
DANEEntryStoreBuilder(DANEEntryFetcherFactory daneEntryFetcher)
           
 
Method Summary
 DANEEntryStore build(java.lang.String domainName)
          Build a DANECertificateStore from the provided domainName details.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DANEEntryStoreBuilder

public DANEEntryStoreBuilder(DANEEntryFetcherFactory daneEntryFetcher)
Method Detail

build

public DANEEntryStore build(java.lang.String domainName)
                     throws DANEException
Build a DANECertificateStore from the provided domainName details.
Parameters:
domainName - the domain name to look up the _smimecert entries in.
Returns:
a Store of DANEEntry representing the _smimecert entries containing certificates.
Throws:
DANEException - in the case of a DNS issue or encoding issue with a DNS record.

Bouncy Castle Cryptography Library 1.79