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 boolean
cnMismatch()
Certificate's CN (hostname) does not match the remote hostname.boolean
expired()
The certificate has expired.int
getFailures()
boolean
notYetValid()
The certificate is not yet valid.boolean
other()
Other failure.boolean
unknownCA()
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.
-