netapp.manage
Class NaSSLException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byjavax.net.ssl.SSLException
                  extended byjavax.net.ssl.SSLHandshakeException
                      extended bynetapp.manage.NaSSLException
All Implemented Interfaces:
java.io.Serializable

public class NaSSLException
extends javax.net.ssl.SSLHandshakeException

Indicates some kind of error detected during SSL handshake. This exception will be thrown when there is a problem in verifying the remote certificate chain.

See Also:
Serialized Form

Constructor Summary
NaSSLException(java.security.cert.X509Certificate[] chain, java.lang.String reason)
          Constructs a new NaSSLException with the specified remote certificate chain and the reason message for verification failure.
 
Method Summary
 java.security.cert.X509Certificate[] getCertificateChain()
          Returns the chain of certificates that is sent by the peer.
 
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

NaSSLException

public NaSSLException(java.security.cert.X509Certificate[] chain,
                      java.lang.String reason)
Constructs a new NaSSLException with the specified remote certificate chain and the reason message for verification failure.

Parameters:
chain - the remote certificate chain.
reason - the reason message.
Method Detail

getCertificateChain

public java.security.cert.X509Certificate[] getCertificateChain()
Returns the chain of certificates that is sent by the peer.

Returns:
The certificate chain.