public class org.apache.qpid.proton.engine.impl.ssl.SslImpl extends java.lang.Object implements org.apache.qpid.proton.engine.Ssl, org.apache.qpid.proton.engine.impl.TransportLayer
{
private org.apache.qpid.proton.engine.impl.ssl.SslTransportWrapper _unsecureClientAwareTransportWrapper;
private final org.apache.qpid.proton.engine.SslDomain _domain;
private final org.apache.qpid.proton.engine.impl.ssl.ProtonSslEngineProvider _protonSslEngineProvider;
private final org.apache.qpid.proton.engine.SslPeerDetails _peerDetails;
private org.apache.qpid.proton.engine.TransportException _initException;
public void <init>(org.apache.qpid.proton.engine.SslDomain, org.apache.qpid.proton.engine.SslPeerDetails)
{
java.lang.IllegalStateException v;
java.lang.IllegalArgumentException v;
org.apache.qpid.proton.engine.SslDomain$Mode v;
org.apache.qpid.proton.engine.impl.ssl.SslImpl v;
org.apache.qpid.proton.engine.SslDomain$VerifyMode v, v;
org.apache.qpid.proton.engine.SslPeerDetails v, v;
org.apache.qpid.proton.engine.SslDomain v, v, v;
v := @this: org.apache.qpid.proton.engine.impl.ssl.SslImpl;
v := @parameter: org.apache.qpid.proton.engine.SslDomain;
v := @parameter: org.apache.qpid.proton.engine.SslPeerDetails;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<org.apache.qpid.proton.engine.impl.ssl.SslImpl: org.apache.qpid.proton.engine.SslDomain _domain> = v;
v.<org.apache.qpid.proton.engine.impl.ssl.SslImpl: org.apache.qpid.proton.engine.impl.ssl.ProtonSslEngineProvider _protonSslEngineProvider> = v;
v.<org.apache.qpid.proton.engine.impl.ssl.SslImpl: org.apache.qpid.proton.engine.SslPeerDetails _peerDetails> = v;
v = v.<org.apache.qpid.proton.engine.impl.ssl.SslImpl: org.apache.qpid.proton.engine.SslDomain _domain>;
v = interfaceinvoke v.<org.apache.qpid.proton.engine.SslDomain: org.apache.qpid.proton.engine.SslDomain$Mode getMode()>();
if v != null goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("Client/server mode must be configured, SslDomain must have init called.");
throw v;
label:
v = v.<org.apache.qpid.proton.engine.impl.ssl.SslImpl: org.apache.qpid.proton.engine.SslPeerDetails _peerDetails>;
if v != null goto label;
v = v.<org.apache.qpid.proton.engine.impl.ssl.SslImpl: org.apache.qpid.proton.engine.SslDomain _domain>;
v = interfaceinvoke v.<org.apache.qpid.proton.engine.SslDomain: org.apache.qpid.proton.engine.SslDomain$VerifyMode getPeerAuthentication()>();
v = <org.apache.qpid.proton.engine.SslDomain$VerifyMode: org.apache.qpid.proton.engine.SslDomain$VerifyMode VERIFY_PEER_NAME>;
if v != v goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("Peer hostname verification is enabled, but no peer details were provided");
throw v;
label:
return;
}
public org.apache.qpid.proton.engine.impl.TransportWrapper wrap(org.apache.qpid.proton.engine.impl.TransportInput, org.apache.qpid.proton.engine.impl.TransportOutput)
{
java.lang.IllegalStateException v;
org.apache.qpid.proton.engine.impl.ssl.SslTransportWrapper v, v;
org.apache.qpid.proton.engine.impl.ssl.SslImpl v;
org.apache.qpid.proton.engine.impl.ssl.SslImpl$UnsecureClientAwareTransportWrapper v;
org.apache.qpid.proton.engine.impl.TransportInput v;
org.apache.qpid.proton.engine.impl.TransportOutput v;
v := @this: org.apache.qpid.proton.engine.impl.ssl.SslImpl;
v := @parameter: org.apache.qpid.proton.engine.impl.TransportInput;
v := @parameter: org.apache.qpid.proton.engine.impl.TransportOutput;
v = v.<org.apache.qpid.proton.engine.impl.ssl.SslImpl: org.apache.qpid.proton.engine.impl.ssl.SslTransportWrapper _unsecureClientAwareTransportWrapper>;
if v == null goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("Transport already wrapped");
throw v;
label:
v = new org.apache.qpid.proton.engine.impl.ssl.SslImpl$UnsecureClientAwareTransportWrapper;
specialinvoke v.<org.apache.qpid.proton.engine.impl.ssl.SslImpl$UnsecureClientAwareTransportWrapper: void <init>(org.apache.qpid.proton.engine.impl.ssl.SslImpl,org.apache.qpid.proton.engine.impl.TransportInput,org.apache.qpid.proton.engine.impl.TransportOutput)>(v, v, v);
v.<org.apache.qpid.proton.engine.impl.ssl.SslImpl: org.apache.qpid.proton.engine.impl.ssl.SslTransportWrapper _unsecureClientAwareTransportWrapper> = v;
v = v.<org.apache.qpid.proton.engine.impl.ssl.SslImpl: org.apache.qpid.proton.engine.impl.ssl.SslTransportWrapper _unsecureClientAwareTransportWrapper>;
return v;
}
public java.lang.String getCipherName()
{
java.lang.IllegalStateException v;
org.apache.qpid.proton.engine.impl.ssl.SslTransportWrapper v, v;
org.apache.qpid.proton.engine.impl.ssl.SslImpl v;
java.lang.String v;
v := @this: org.apache.qpid.proton.engine.impl.ssl.SslImpl;
v = v.<org.apache.qpid.proton.engine.impl.ssl.SslImpl: org.apache.qpid.proton.engine.impl.ssl.SslTransportWrapper _unsecureClientAwareTransportWrapper>;
if v != null goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("Transport wrapper is uninitialised");
throw v;
label:
v = v.<org.apache.qpid.proton.engine.impl.ssl.SslImpl: org.apache.qpid.proton.engine.impl.ssl.SslTransportWrapper _unsecureClientAwareTransportWrapper>;
v = interfaceinvoke v.<org.apache.qpid.proton.engine.impl.ssl.SslTransportWrapper: java.lang.String getCipherName()>();
return v;
}
public java.lang.String getProtocolName()
{
java.lang.IllegalStateException v;
org.apache.qpid.proton.engine.impl.ssl.SslTransportWrapper v, v;
org.apache.qpid.proton.engine.impl.ssl.SslImpl v;
java.lang.String v;
v := @this: org.apache.qpid.proton.engine.impl.ssl.SslImpl;
v = v.<org.apache.qpid.proton.engine.impl.ssl.SslImpl: org.apache.qpid.proton.engine.impl.ssl.SslTransportWrapper _unsecureClientAwareTransportWrapper>;
if v != null goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("Transport wrapper is uninitialised");
throw v;
label:
v = v.<org.apache.qpid.proton.engine.impl.ssl.SslImpl: org.apache.qpid.proton.engine.impl.ssl.SslTransportWrapper _unsecureClientAwareTransportWrapper>;
v = interfaceinvoke v.<org.apache.qpid.proton.engine.impl.ssl.SslTransportWrapper: java.lang.String getProtocolName()>();
return v;
}
public void setPeerHostname(java.lang.String)
{
java.lang.String v;
org.apache.qpid.proton.engine.impl.ssl.SslImpl v;
org.apache.qpid.proton.ProtonUnsupportedOperationException v;
v := @this: org.apache.qpid.proton.engine.impl.ssl.SslImpl;
v := @parameter: java.lang.String;
v = new org.apache.qpid.proton.ProtonUnsupportedOperationException;
specialinvoke v.<org.apache.qpid.proton.ProtonUnsupportedOperationException: void <init>()>();
throw v;
}
public java.lang.String getPeerHostname()
{
org.apache.qpid.proton.engine.impl.ssl.SslImpl v;
org.apache.qpid.proton.ProtonUnsupportedOperationException v;
v := @this: org.apache.qpid.proton.engine.impl.ssl.SslImpl;
v = new org.apache.qpid.proton.ProtonUnsupportedOperationException;
specialinvoke v.<org.apache.qpid.proton.ProtonUnsupportedOperationException: void <init>()>();
throw v;
}
}