Package com.codedx.security
Interface InvalidCertificateStrategy
-
- All Known Implementing Classes:
FingerprintStrategy
public interface InvalidCertificateStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CertificateAcceptance
checkAcceptance(Certificate cert, CertificateException certError)
Determine what to do with a certificate (reject, accept temporarily, or accept permanently)
-
-
-
Method Detail
-
checkAcceptance
CertificateAcceptance checkAcceptance(Certificate cert, CertificateException certError)
Determine what to do with a certificate (reject, accept temporarily, or accept permanently)- Parameters:
cert
- A (probably invalid) certificatecertError
- An exception (or null) that caused the certificate to be considered invalid- Returns:
- A CertificateAcceptance value that determines whether (and for how long) the certificate should be considered valid.
-
-