Package com.webmethods.jms.ssl
Class AwSSLSocketInfo
- java.lang.Object
-
- com.webmethods.jms.ssl.AwSSLSocketInfo
-
public class AwSSLSocketInfo extends java.lang.Object
Contains the socket handle and a certificate for the server for a newly created client socket.
-
-
Constructor Summary
Constructors Constructor Description AwSSLSocketInfo()
AwSSLSocketInfo​(long socketin, AwSSLCertificate certificateIn)
Constructor which stores the passed socket handle and certificate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AwSSLCertificate
getCertificate()
Returns the server certificate as a AwSSLCertificate object reference.long
getClientSocket()
Returns the socket handle.AwSSLCertificate
getPeerCertificate()
Returns the server certificate as a AwSSLCertificate object reference.javax.net.ssl.SSLSocket
getSSLSocket()
Returns the SSL Socket
-
-
-
Constructor Detail
-
AwSSLSocketInfo
public AwSSLSocketInfo()
-
AwSSLSocketInfo
public AwSSLSocketInfo​(long socketin, AwSSLCertificate certificateIn)
Constructor which stores the passed socket handle and certificate.- Parameters:
socketin
- A socket handle corresponding to a valid AwSSL socket.certificateIn
- The certificate for the server.
-
-
Method Detail
-
getClientSocket
public long getClientSocket()
Returns the socket handle.- Returns:
- the socket handle.
-
getSSLSocket
public javax.net.ssl.SSLSocket getSSLSocket()
Returns the SSL Socket
-
getCertificate
public AwSSLCertificate getCertificate()
Returns the server certificate as a AwSSLCertificate object reference.- Returns:
- an object reference to the server certificate.
-
getPeerCertificate
public AwSSLCertificate getPeerCertificate()
Returns the server certificate as a AwSSLCertificate object reference.- Returns:
- an object reference to the server certificate.
-
-