Package org.bouncycastle.x509
Class X509CertStoreSelector
- java.lang.Object
-
- java.security.cert.X509CertSelector
-
- org.bouncycastle.x509.X509CertStoreSelector
-
- All Implemented Interfaces:
Cloneable,CertSelector,Selector
public class X509CertStoreSelector extends X509CertSelector implements Selector
Deprecated.use the classes under org.bouncycastle.cert.selectorThis class is a Selector implementation for X.509 certificates.- See Also:
Selector,org.bouncycastle.x509.X509Store,org.bouncycastle.jce.provider.X509StoreCertCollection
-
-
Constructor Summary
Constructors Constructor Description X509CertStoreSelector()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Objectclone()Deprecated.Clones thisX509CertSelectorinstance.static X509CertStoreSelectorgetInstance(X509CertSelector selector)Deprecated.Returns an instance of this from aX509CertSelector.booleanmatch(Object obj)Deprecated.booleanmatch(Certificate cert)Deprecated.Returns whether the specified certificate matches all the criteria collected in this instance.-
Methods inherited from class java.security.cert.X509CertSelector
addPathToName, addPathToName, addSubjectAlternativeName, addSubjectAlternativeName, getAuthorityKeyIdentifier, getBasicConstraints, getCertificate, getCertificateValid, getExtendedKeyUsage, getIssuer, getIssuerAsBytes, getIssuerAsString, getKeyUsage, getMatchAllSubjectAltNames, getNameConstraints, getPathToNames, getPolicy, getPrivateKeyValid, getSerialNumber, getSubject, getSubjectAlternativeNames, getSubjectAsBytes, getSubjectAsString, getSubjectKeyIdentifier, getSubjectPublicKey, getSubjectPublicKeyAlgID, setAuthorityKeyIdentifier, setBasicConstraints, setCertificate, setCertificateValid, setExtendedKeyUsage, setIssuer, setIssuer, setIssuer, setKeyUsage, setMatchAllSubjectAltNames, setNameConstraints, setPathToNames, setPolicy, setPrivateKeyValid, setSerialNumber, setSubject, setSubject, setSubject, setSubjectAlternativeNames, setSubjectKeyIdentifier, setSubjectPublicKey, setSubjectPublicKey, setSubjectPublicKeyAlgID, toString
-
-
-
-
Method Detail
-
match
public boolean match(Certificate cert)
Deprecated.Description copied from class:X509CertSelectorReturns whether the specified certificate matches all the criteria collected in this instance.- Specified by:
matchin interfaceCertSelector- Overrides:
matchin classX509CertSelector- Parameters:
cert- the certificate to check.- Returns:
trueif the certificate matches all the criteria, otherwisefalse.
-
clone
public Object clone()
Deprecated.Description copied from class:X509CertSelectorClones thisX509CertSelectorinstance.- Specified by:
clonein interfaceCertSelector- Specified by:
clonein interfaceSelector- Overrides:
clonein classX509CertSelector- Returns:
- the cloned instance.
-
getInstance
public static X509CertStoreSelector getInstance(X509CertSelector selector)
Deprecated.Returns an instance of this from aX509CertSelector.- Parameters:
selector- AX509CertSelectorinstance.- Returns:
- An instance of an
X509CertStoreSelector. - Throws:
IllegalArgumentException- if selector is null or creation fails.
-
-