com.esri.arcgis.system
Class SSLInfo

java.lang.Object
  extended by com.esri.arcgis.system.SSLInfo
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, ISSLInfo, Serializable

public class SSLInfo
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ISSLInfo

A utility class for setting SSL configuration information.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
SSLInfo()
          Constructs a SSLInfo using ArcGIS Engine.
SSLInfo(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SSLInfo theSSLInfo = (SSLInfo) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 String getCertPath()
          Path to certificate bundle.
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 boolean isVerifyPeer()
          Indicates whether or not to verify the peer.
 void readSSLInfo()
          Read HTTPs configuration from the registry.
 void setCertPath(String certPath)
          Path to certificate bundle.
 void setVerifyPeer(boolean bVerifyPeer)
          Indicates whether or not to verify the peer.
 void writeSSLInfo()
          Write HTTPs configuration to the registry.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

SSLInfo

public SSLInfo()
        throws IOException,
               UnknownHostException
Constructs a SSLInfo using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

SSLInfo

public SSLInfo(Object obj)
        throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SSLInfo theSSLInfo = (SSLInfo) obj;

Construct a SSLInfo using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to SSLInfo.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

isVerifyPeer

public boolean isVerifyPeer()
                     throws IOException,
                            AutomationException
Indicates whether or not to verify the peer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isVerifyPeer in interface ISSLInfo
Returns:
The bVerifyPeer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVerifyPeer

public void setVerifyPeer(boolean bVerifyPeer)
                   throws IOException,
                          AutomationException
Indicates whether or not to verify the peer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setVerifyPeer in interface ISSLInfo
Parameters:
bVerifyPeer - The bVerifyPeer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCertPath

public String getCertPath()
                   throws IOException,
                          AutomationException
Path to certificate bundle.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getCertPath in interface ISSLInfo
Returns:
The certPath
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCertPath

public void setCertPath(String certPath)
                 throws IOException,
                        AutomationException
Path to certificate bundle.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setCertPath in interface ISSLInfo
Parameters:
certPath - The certPath (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readSSLInfo

public void readSSLInfo()
                 throws IOException,
                        AutomationException
Read HTTPs configuration from the registry.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
readSSLInfo in interface ISSLInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeSSLInfo

public void writeSSLInfo()
                  throws IOException,
                         AutomationException
Write HTTPs configuration to the registry.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
writeSSLInfo in interface ISSLInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.