DANEEntrySelectorFactory (Bouncy Castle Library 1.54 API Specification)
Date: 2015-12-29

org.bouncycastle.cert.dane

## Class DANEEntrySelectorFactory

- java.lang.Object
- - org.bouncycastle.cert.dane.DANEEntrySelectorFactory

-     public class DANEEntrySelectorFactory
      extends java.lang.Object

  Factory for creating selector objects to use with the DANECertificateStore.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DANEEntrySelectorFactory(DigestCalculator digestCalculator)` Base constructor.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `DANEEntrySelector` | `createSelector(java.lang.String emailAddress)` Create a selector for the passed in email address.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DANEEntrySelectorFactory

          public DANEEntrySelectorFactory(DigestCalculator digestCalculator)

      Base constructor.
      Parameters:
        `digestCalculator` - a calculator for the message digest to filter email addresses currently SHA-224.

  - ### Method Detail

    - #### createSelector

          public DANEEntrySelector createSelector(java.lang.String emailAddress)
                                           throws DANEException

      Create a selector for the passed in email address.
      Parameters:
        `emailAddress` - the emails address of interest.
      Throws:
        `DANEException` - in case of issue generating a matching name.