com.esri.arcgis.server
Interface ISignatureGen

All Known Implementing Classes:
ISignatureGenProxy

public interface ISignatureGen

COM Interface 'ISignatureGen'. Generated 5/23/2013 11:12:11 AM from 'C:\ArcGIS\com\esriServer.tlb'

Description: 'Generates signatures for signing http requests' Generator Options: PromptForTypeLibraries = True ClashPrefix = LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = False ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = False GenerateJavadoc =


Field Summary
static int ARRAY
           
static java.lang.String IID
          Deprecated. Internal use only
static int IIDbc30ee09_feec_40e0_b090_fa393d495285
           
static int IN
           
static int OPTIONAL
           
static int OUT
           
static int RETVAL
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 java.lang.String generateSignature(java.lang.String requestUri, java.lang.String[] keys, java.lang.String[] values)
          Generates a signature for a request Uri and request parameters
 void init(java.lang.String algName, java.lang.String sharedKey)
          Initializes the signature generator with an hashing/encryption scheme and an associated key
 

Field Detail

ARRAY

static final int ARRAY
See Also:
Constant Field Values

IN

static final int IN
See Also:
Constant Field Values

OUT

static final int OUT
See Also:
Constant Field Values

OPTIONAL

static final int OPTIONAL
See Also:
Constant Field Values

RETVAL

static final int RETVAL
See Also:
Constant Field Values

IIDbc30ee09_feec_40e0_b090_fa393d495285

static final int IIDbc30ee09_feec_40e0_b090_fa393d495285
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

init

void init(java.lang.String algName,
          java.lang.String sharedKey)
          throws java.io.IOException,
                 AutomationException
Initializes the signature generator with an hashing/encryption scheme and an associated key

Parameters:
algName - The algName (in)
sharedKey - The sharedKey (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

generateSignature

java.lang.String generateSignature(java.lang.String requestUri,
                                   java.lang.String[] keys,
                                   java.lang.String[] values)
                                   throws java.io.IOException,
                                          AutomationException
Generates a signature for a request Uri and request parameters

Parameters:
requestUri - The requestUri (in)
keys - The keys (in)
values - The values (in)
Returns:
The signature
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.