Top Description Fields Constructors Methods
org.bouncycastle.cert.dane

public Class DANEEntryStore

extends Object
implements Store
Class Inheritance
All Implemented Interfaces
org.bouncycastle.util.Store
Imports
java.util.ArrayList, .Collection, .Collections, .HashMap, .Iterator, .List, .Map, org.bouncycastle.util.CollectionStore, .Selector, .Store, .StoreException

Class storing DANEEntry objects.

Field Summary

Modifier and TypeField and Description
private final Map<K, V>

Constructor Summary

AccessConstructor and Description
pack-priv
DANEEntryStore(List<E> entries)

Method Summary

Modifier and TypeMethod and Description
public Collection<E>

Returns:

a possibly empty collection of matched entries.
getMatches
(Selector<T>
the selector to validate entries against.
selector
)

Implements org.bouncycastle.util.Store.getMatches.

Return a collection of entries matching the passed in selector.

public Store<T>

Returns:

a Store of X509CertificateHolder.
toCertificateStore
()

Return a Store of X509CertificateHolder objects representing all the certificates associated with entries in the store.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

entriesback to summary
private final Map<K, V> entries

Constructor Detail

DANEEntryStoreback to summary
pack-priv DANEEntryStore(List<E> entries)

Method Detail

getMatchesback to summary
public Collection<E> getMatches(Selector<T> selector) throws StoreException

Implements org.bouncycastle.util.Store.getMatches.

Return a collection of entries matching the passed in selector.

Parameters
selector:Selector<T>

the selector to validate entries against.

Returns:Collection<E>

a possibly empty collection of matched entries.

Exceptions
StoreException:
in case of an underlying issue.
toCertificateStoreback to summary
public Store<T> toCertificateStore()

Return a Store of X509CertificateHolder objects representing all the certificates associated with entries in the store.

Returns:Store<T>

a Store of X509CertificateHolder.