|
Bouncy Castle Cryptography Library 1.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.x509.X509CertPairStoreSelector
public class X509CertPairStoreSelector
This class is an Selector
like implementation to select
certificates pairs, which are e.g. used for cross certificates. The set of
criteria is given from two
X509CertStoreSelector
s which must be both
matched.
X509AttributeCertificate
,
X509Store
Constructor Summary | |
---|---|
X509CertPairStoreSelector()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns a clone of this selector. |
X509CertificatePair |
getCertPair()
Returns the certificate pair which is used for testing on equality. |
X509CertStoreSelector |
getForwardSelector()
Returns the certicate selector for the forward part. |
X509CertStoreSelector |
getReverseSelector()
Returns the certicate selector for the reverse part. |
boolean |
match(java.lang.Object obj)
Decides if the given certificate pair should be selected. |
void |
setCertPair(X509CertificatePair certPair)
Set the certificate pair which is used for testing on equality. |
void |
setForwardSelector(X509CertStoreSelector forwardSelector)
|
void |
setReverseSelector(X509CertStoreSelector reverseSelector)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public X509CertPairStoreSelector()
Method Detail |
---|
public X509CertificatePair getCertPair()
public void setCertPair(X509CertificatePair certPair)
certPair
- The certPairChecking to set.public void setForwardSelector(X509CertStoreSelector forwardSelector)
forwardSelector
- The certificate selector for the forward part in
the pair.public void setReverseSelector(X509CertStoreSelector reverseSelector)
reverseSelector
- The certificate selector for the reverse part in
the pair.public java.lang.Object clone()
clone
in interface Selector
clone
in class java.lang.Object
Object.clone()
public boolean match(java.lang.Object obj)
obj
is not a X509CertificatePair
this method
returns false
.
match
in interface Selector
obj
- The X509CertificatePair
which should be tested.
true
if the object matches this selector.public X509CertStoreSelector getForwardSelector()
public X509CertStoreSelector getReverseSelector()
|
Bouncy Castle Cryptography Library 1.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |