Package 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 Description DANEEntryStoreBuilder(DANEEntryFetcherFactory daneEntryFetcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DANEEntryStore
build(java.lang.String domainName)
Build a DANECertificateStore from the provided domainName details.
-
-
-
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.
-
-