Top Description Constructors Methods
org.bouncycastle.pkix.jcajce

pack-priv Class X509CertStoreSelector

extends X509CertSelector
implements Selector
Class Inheritance
All Implemented Interfaces
org.bouncycastle.util.Selector, java.lang.Cloneable
Imports
java.io.IOException, java.security.cert.Certificate, .X509CertSelector, .X509Certificate, org.bouncycastle.util.Selector

This class is a Selector implementation for X.509 certificates.
See Also
org.bouncycastle.util.Selector

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Object
public static X509CertStoreSelector

Returns:

An instance of an X509CertStoreSelector.
getInstance
(X509CertSelector
A X509CertSelector instance.
selector
)

Returns an instance of this from a X509CertSelector.

public boolean
match(Object
the object to be matched.
obj
)

Implements org.bouncycastle.util.Selector.match.

Match the passed in object, returning true if it would be selected by this selector, false otherwise.

public boolean
match(Certificate
the object to be matched.
cert
)

Overrides java.security.cert.X509CertSelector.match.

Implements org.bouncycastle.util.Selector.match, java.security.cert.CertSelector.match.

Match the passed in object, returning true if it would be selected by this selector, false otherwise.

Inherited from java.security.cert.X509CertSelector:
addPathToNameaddPathToNameaddSubjectAlternativeNameaddSubjectAlternativeNamegetAuthorityKeyIdentifiergetBasicConstraintsgetCertificategetCertificateValidgetExtendedKeyUsagegetIssuergetIssuerAsBytesgetIssuerAsStringgetKeyUsagegetMatchAllSubjectAltNamesgetNameConstraintsgetPathToNamesgetPolicygetPrivateKeyValidgetSerialNumbergetSubjectgetSubjectAlternativeNamesgetSubjectAsBytesgetSubjectAsStringgetSubjectKeyIdentifiergetSubjectPublicKeygetSubjectPublicKeyAlgIDsetAuthorityKeyIdentifiersetBasicConstraintssetCertificatesetCertificateValidsetExtendedKeyUsagesetIssuersetIssuersetIssuersetKeyUsagesetMatchAllSubjectAltNamessetNameConstraintssetPathToNamessetPolicysetPrivateKeyValidsetSerialNumbersetSubjectsetSubjectsetSubjectsetSubjectAlternativeNamessetSubjectKeyIdentifiersetSubjectPublicKeysetSubjectPublicKeysetSubjectPublicKeyAlgIDtoString

Constructor Detail

X509CertStoreSelectorback to summary
pack-priv X509CertStoreSelector()

Method Detail

cloneback to summary
public Object clone()

Overrides java.security.cert.X509CertSelector.clone.

Implements org.bouncycastle.util.Selector.clone, java.security.cert.CertSelector.clone.

Doc from java.security.cert.X509CertSelector.clone.

Returns a copy of this object.

Returns:Object

the copy

getInstanceback to summary
public static X509CertStoreSelector getInstance(X509CertSelector selector)

Returns an instance of this from a X509CertSelector.

Parameters
selector:X509CertSelector

A X509CertSelector instance.

Returns:X509CertStoreSelector

An instance of an X509CertStoreSelector.

Exceptions
IllegalArgumentException:
if selector is null or creation fails.
matchback to summary
public boolean match(Object obj)

Implements org.bouncycastle.util.Selector.match.

Doc from org.bouncycastle.util.Selector.match.

Match the passed in object, returning true if it would be selected by this selector, false otherwise.

Parameters
obj:Object

the object to be matched.

Returns:boolean

true if the object is a match for this selector, false otherwise.

matchback to summary
public boolean match(Certificate cert)

Overrides java.security.cert.X509CertSelector.match.

Implements org.bouncycastle.util.Selector.match, java.security.cert.CertSelector.match.

Doc from org.bouncycastle.util.Selector.match.

Match the passed in object, returning true if it would be selected by this selector, false otherwise.

Parameters
cert:Certificate

the object to be matched.

Returns:boolean

true if the object is a match for this selector, false otherwise.