01: package org.bouncycastle.crypto.tls;
02:
03: import org.bouncycastle.asn1.x509.X509CertificateStructure;
04:
05: /**
06: * This should be implemented by any class which can find out, if a given
07: * certificate chain is beeing accepted by an client.
08: */
09: public interface CertificateVerifyer {
10: /**
11: * @param certs The certs, which are part of the chain.
12: * @return True, if the chain is accepted, false otherwise.
13: */
14: public boolean isValid(X509CertificateStructure[] certs);
15: }
|