TPTP 4.3.0 Monitoring Tools Project
Public API Specification

org.eclipse.tptp.monitoring.log.provisional.cbeimport
Class UntrustedCertificateException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.eclipse.hyades.execution.core.DaemonConnectException
              extended byorg.eclipse.hyades.internal.execution.local.control.AgentControllerUnavailableException
                  extended byorg.eclipse.hyades.internal.execution.security.UntrustedAgentControllerException
                      extended byorg.eclipse.tptp.monitoring.log.provisional.cbeimport.UntrustedCertificateException
All Implemented Interfaces:
java.io.Serializable

public class UntrustedCertificateException
extends org.eclipse.hyades.internal.execution.security.UntrustedAgentControllerException

UntrustedCertificateException is an exception that occurs when connecting to a remote agent controller that requires a certificate.

See Also:
Serialized Form

Field Summary
protected  java.security.cert.X509Certificate certificate
           
protected  java.lang.Exception e
           
protected  java.security.KeyStore keyStore
           
 
Constructor Summary
UntrustedCertificateException(java.lang.Exception e)
          Constructor
 
Method Summary
 java.security.cert.X509Certificate getCertificate()
          Returns the certificate from the remote connection.
 java.security.KeyStore getKeyStore()
          Returns the keystore that will be used to store the certificate
 void setCertificate(java.security.cert.X509Certificate certificate)
          Sets the certificate from the remote connection.
 void setKeyStore(java.security.KeyStore keyStore)
          Sets the keystore that will be used to store the certificate
 
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
 

Field Detail

keyStore

protected java.security.KeyStore keyStore

certificate

protected java.security.cert.X509Certificate certificate

e

protected java.lang.Exception e
Constructor Detail

UntrustedCertificateException

public UntrustedCertificateException(java.lang.Exception e)
Constructor

Parameters:
e -
Method Detail

getCertificate

public java.security.cert.X509Certificate getCertificate()
Returns the certificate from the remote connection.

Returns:
X509Certificate that represents the certificate

setCertificate

public void setCertificate(java.security.cert.X509Certificate certificate)
Sets the certificate from the remote connection.

Parameters:
certificate - X509Certificate that represents the certificate

getKeyStore

public java.security.KeyStore getKeyStore()
Returns the keystore that will be used to store the certificate

Returns:
KeyStore that will contain the certificate

setKeyStore

public void setKeyStore(java.security.KeyStore keyStore)
Sets the keystore that will be used to store the certificate

Parameters:
keyStore - KeyStore that will contain the certificate

TPTP 4.3.0 Monitoring Tools Project
Public API Specification