iaik.security.ssl
Class SSLCertificateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by iaik.security.ssl.SSLException
                  extended by iaik.security.ssl.SSLCertificateException
All Implemented Interfaces:
java.io.Serializable

public class SSLCertificateException
extends SSLException

Signals some certificate related problem. May wrap some application-written exception that reports a certificate validation error.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class iaik.security.ssl.SSLException
ALERT_ACCESS_DENIED, ALERT_BAD_CERTIFICATE, ALERT_BAD_CERTIFICATE_HASH_VALUE, ALERT_BAD_CERTIFICATE_STATUS_RESPONSE, ALERT_BAD_RECORD_MAC, ALERT_CERTIFICATE_EXPIRED, ALERT_CERTIFICATE_REVOKED, ALERT_CERTIFICATE_UNKNOWN, ALERT_CERTIFICATE_UNOBTAINABLE, ALERT_CLOSE_NOTIFY, ALERT_DECODE_ERROR, ALERT_DECOMPRESSION_FAILURE, ALERT_DECRYPT_ERROR, ALERT_DECRYPTION_FAILED, ALERT_EXPORT_RESTRICTION, ALERT_HANDSHAKE_FAILURE, ALERT_ILLEGAL_PARAMETER, ALERT_INSUFFICIENT_SECURITY, ALERT_INTERNAL_ERROR, ALERT_LEVEL_FATAL, ALERT_LEVEL_WARNING, ALERT_NO_CERTIFICATE, ALERT_NO_RENEGOTIATION, ALERT_PROTOCOL_VERSION, ALERT_RECORD_OVERFLOW, ALERT_UNEXPECTED_MESSAGE, ALERT_UNKNOWN_CA, ALERT_UNKNOWN_PSK_IDENTITY, ALERT_UNRECOGNIZED_NAME, ALERT_UNSUPPORTED_CERTIFICATE, ALERT_UNSUPPORTED_EXTENSION, ALERT_USER_CANCELED, ALERT_V2_BAD_CERTIFICATE, ALERT_V2_NO_CERTIFICATE, ALERT_V2_NO_CIPHER, ALERT_V2_UNDEFINED_ERROR, ALERT_V2_UNSUPPORTED_CERTIFICATE_TYPE
 
Constructor Summary
SSLCertificateException()
          Creates a SSLCertificateException with no message.
SSLCertificateException(java.lang.Exception wrappedException)
          Creates a SSLCertificateException with the specified wrapped exception.
SSLCertificateException(java.lang.String msg)
          Creates a SSLCertificateException with the specified message.
SSLCertificateException(java.lang.String msg, java.lang.Exception wrappedException)
          Creates a SSLCertificateException with the specified message and wrapped exception.
 
Method Summary
 java.lang.Exception getWrappedException()
          Gets the wrapped exception.
 
Methods inherited from class iaik.security.ssl.SSLException
alertFromPeer, getAlertDescription, getAlertLevel
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SSLCertificateException

public SSLCertificateException()
Creates a SSLCertificateException with no message.


SSLCertificateException

public SSLCertificateException(java.lang.String msg)
Creates a SSLCertificateException with the specified message.

Parameters:
msg - the exception message

SSLCertificateException

public SSLCertificateException(java.lang.String msg,
                               java.lang.Exception wrappedException)
Creates a SSLCertificateException with the specified message and wrapped exception.

Parameters:
msg - the exception message
wrappedException - the wrapped (original) exception

SSLCertificateException

public SSLCertificateException(java.lang.Exception wrappedException)
Creates a SSLCertificateException with the specified wrapped exception.

Parameters:
wrappedException - the wrapped (original) exception
Method Detail

getWrappedException

public java.lang.Exception getWrappedException()
Gets the wrapped exception.

Returns:
the wrapped (original) exception

This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note).

iSaSiLk 5.104, (c) 2002 IAIK, (c) 2003 - 2015 SIC