org.apache.subversion.javahl.callback
Class AuthnCallback.SSLServerCertFailures

java.lang.Object
  extended by 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
 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).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.