Class AuthnCallback.SSLServerCertFailures
java.lang.Object
org.apache.subversion.javahl.callback.AuthnCallback.SSLServerCertFailures
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- AuthnCallback
public static class AuthnCallback.SSLServerCertFailures extends Object implements Serializable
Information about why parsing a server SSL certificate failed.
- See Also:
- Serialized Form
-
Method Summary
Modifier and Type Method Description booleancnMismatch()Certificate's CN (hostname) does not match the remote hostname.booleanexpired()The certificate has expired.intgetFailures()booleannotYetValid()The certificate is not yet valid.booleanother()Other failure.booleanunknownCA()Certificate authority is unknown (i.e., not trusted).
-
Method Details
-
notYetValid
public boolean notYetValid()The certificate is not yet valid. -
expired
public boolean expired()The certificate has expired. -
cnMismatch
public boolean cnMismatch()Certificate's CN (hostname) does not match the remote hostname. -
unknownCA
public boolean unknownCA()Certificate authority is unknown (i.e., not trusted). -
other
public boolean other()Other failure. This can happen if an unknown failure occurs that we do not handle yet. -
getFailures
public int getFailures()- Returns:
- the internal bitfield representation of the failures.
-