DANEEntryStoreBuilder (Bouncy Castle Library 1.52 API Specification)
Date: 2015-03-01

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

    Constructors
    Constructor and Description
    `DANEEntryStoreBuilder(DANEEntryFetcherFactory daneEntryFetcher)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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.