org.semanticdesktop.aperture.security.trustdecider
Interface TrustDecider
- All Known Implementing Classes:
- TrustDeciderDialog
public interface TrustDecider
A TrustDecider is typically used by a StandardTrustManager to implement a strategy for deciding on
Certificates that cannot be automatically verified. A TrustDecider implementation may for example open
a dialog asking the user what to do with the presented dialog.
Method Summary |
Decision |
decide(X509Certificate[] chain,
boolean rootCANotValid,
boolean timeNotValid)
Lets the TrustDecider decide on the specified Certificate chain. |
decide
Decision decide(X509Certificate[] chain,
boolean rootCANotValid,
boolean timeNotValid)
- Lets the TrustDecider decide on the specified Certificate chain.
- Parameters:
chain
- The chain of X509Certificates to decide on.rootCANotValid
- Flag that indicates whether one of the root certificates could not be
verified by one of the system certificates.timeNotValid
- Flag to indicate whether one of the root certificates is not valid yet or has
expired.
- Returns:
- A Decision instance indicating the decision made by this TrustDecider.
Copyright © 2010 Aperture Development Team. All Rights Reserved.