Package org.bouncycastle.jce
Class MultiCertStoreParameters
- java.lang.Object
-
- org.bouncycastle.jce.MultiCertStoreParameters
-
- All Implemented Interfaces:
Cloneable
,CertStoreParameters
public class MultiCertStoreParameters extends Object implements CertStoreParameters
-
-
Constructor Summary
Constructors Constructor Description MultiCertStoreParameters(Collection certStores)
Create a parameters object which specifies searching of all the passed in stores.MultiCertStoreParameters(Collection certStores, boolean searchAllStores)
Create a parameters object which can be to used to make a multi store made up of the passed in CertStores.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
Collection
getCertStores()
boolean
getSearchAllStores()
-
-
-
Constructor Detail
-
MultiCertStoreParameters
public MultiCertStoreParameters(Collection certStores)
Create a parameters object which specifies searching of all the passed in stores.- Parameters:
certStores
- CertStores making up the multi CertStore
-
MultiCertStoreParameters
public MultiCertStoreParameters(Collection certStores, boolean searchAllStores)
Create a parameters object which can be to used to make a multi store made up of the passed in CertStores. If the searchAllStores parameter is false, any search on the multi-store will terminate as soon as a search query produces a result.- Parameters:
certStores
- CertStores making up the multi CertStoresearchAllStores
- true if all CertStores should be searched on request, false if a result should be returned on the first successful CertStore query.
-
-
Method Detail
-
getCertStores
public Collection getCertStores()
-
getSearchAllStores
public boolean getSearchAllStores()
-
clone
public Object clone()
- Specified by:
clone
in interfaceCertStoreParameters
- Overrides:
clone
in classObject
-
-