public class DANECertificateFetcher
extends java.lang.Object
Constructor and Description |
---|
DANECertificateFetcher(DANEEntryFetcherFactory fetcherFactory,
DigestCalculator digestCalculator)
Base constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
fetch(java.lang.String emailAddress)
Fetch the certificates associated with the passed in email address if any exists.
|
public DANECertificateFetcher(DANEEntryFetcherFactory fetcherFactory, DigestCalculator digestCalculator)
fetcherFactory
- the fetcher to use for resolving requests.digestCalculator
- the digest calculator to use for calculating sub-domains.public java.util.List fetch(java.lang.String emailAddress) throws DANEException
emailAddress
- the email address of interest.DANEException
- in case of an underlying DNS or record parsing problem.