Package org.bouncycastle.cert.selector
Class X509AttributeCertificateHolderSelector
java.lang.Object
org.bouncycastle.cert.selector.X509AttributeCertificateHolderSelector
- All Implemented Interfaces:
Cloneable
,org.bouncycastle.util.Selector
public class X509AttributeCertificateHolderSelector
extends Object
implements org.bouncycastle.util.Selector
This class is an
Selector
like implementation to select
attribute certificates from a given set of criteria.-
Method Summary
Modifier and TypeMethodDescriptionclone()
Returns a clone of this object.Returns the attribute certificate holder which must be matched.Get the criteria for the validity.Gets the holder.Returns the issuer criterion.Gets the serial number the attribute certificate must have.Gets the target groups.Gets the target names.boolean
Decides if the given attribute certificate should be selected.
-
Method Details
-
match
Decides if the given attribute certificate should be selected.- Specified by:
match
in interfaceorg.bouncycastle.util.Selector
- Parameters:
obj
- The X509AttributeCertificateHolder which should be checked.- Returns:
true
if the attribute certificate is a matchfalse
otherwise.
-
clone
Returns a clone of this object. -
getAttributeCert
Returns the attribute certificate holder which must be matched.- Returns:
- Returns an X509AttributeCertificateHolder
-
getAttributeCertificateValid
Get the criteria for the validity.- Returns:
- Returns the attributeCertificateValid.
-
getHolder
Gets the holder.- Returns:
- Returns the holder.
-
getIssuer
Returns the issuer criterion.- Returns:
- Returns the issuer.
-
getSerialNumber
Gets the serial number the attribute certificate must have.- Returns:
- Returns the serialNumber.
-
getTargetNames
Gets the target names. The collection consists of GeneralName objects.The returned collection is immutable.
- Returns:
- The collection of target names
-
getTargetGroups
Gets the target groups. The collection consists of GeneralName objects.The returned collection is immutable.
- Returns:
- The collection of target groups.
-