uk.ac.soton.itinnovation.grid.utils
Interface CertificateTrustValidator
- All Known Implementing Classes:
- CertificateFileTrustValidator, InteractiveX509TrustManager
public interface CertificateTrustValidator
When connecting to a server, this is used to decide whether to trust the server's X.509 certificate.
isCertificateTrusted
boolean isCertificateTrusted(X509Certificate[] chain)
- Decide whether to trust a server's certificate.
Called to check both the TLS and message-level certificates.
In both cases, it is only called if the default checks fail.
- Parameters:
chain - the server's certificate chain
- Returns:
- true if we should trust it
Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.