|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.jce.cert.X509CertSelector | +--org.bouncycastle.x509.X509CertStoreSelector
This class is a Selector implementation for X.509 certificates.
Selector
,
X509Store
,
X509StoreCertCollection
Constructor Summary | |
X509CertStoreSelector()
|
Method Summary | |
java.lang.Object |
clone()
Returns a copy of this object. |
static X509CertStoreSelector |
getInstance(X509CertSelector selector)
Returns an instance of this from a X509CertSelector. |
boolean |
match(java.security.cert.Certificate cert)
Decides whether a Certificate should be selected. TODO: implement missing tests (name constraints and path to names) Uses ASN1InputStream ,
ASN1Sequence ,
ASN1ObjectIdentifier ,
ASN1Object ,
DERGeneralizedTime ,
X509Name ,
X509Extensions ,
ExtendedKeyUsage ,
KeyPurposeId ,
SubjectPublicKeyInfo ,
AlgorithmIdentifier
to access X509 extensions |
boolean |
match(java.lang.Object obj)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public X509CertStoreSelector()
Method Detail |
public boolean match(java.lang.Object obj)
match
in interface Selector
public boolean match(java.security.cert.Certificate cert)
X509CertSelector
ASN1InputStream
,
ASN1Sequence
,
ASN1ObjectIdentifier
,
ASN1Object
,
DERGeneralizedTime
,
X509Name
,
X509Extensions
,
ExtendedKeyUsage
,
KeyPurposeId
,
SubjectPublicKeyInfo
,
AlgorithmIdentifier
to access X509 extensionsmatch
in class X509CertSelector
org.bouncycastle.jce.cert.X509CertSelector
cert
- the Certificate to be checkedpublic java.lang.Object clone()
X509CertSelector
clone
in interface Selector
clone
in class X509CertSelector
org.bouncycastle.jce.cert.X509CertSelector
public static X509CertStoreSelector getInstance(X509CertSelector selector)
selector
- A X509CertSelector instance.java.lang.IllegalArgumentException
- if selector is null or creation fails.
|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |