at.knowcenter.wag.egov.egiz.sig.connectors.mocca
Class MOCCAHelper

java.lang.Object
  extended byat.knowcenter.wag.egov.egiz.sig.connectors.mocca.MOCCAHelper

public final class MOCCAHelper
extends Object

Provides useful methods for the usage of the open source cce mocca.

Author:
tknall

Method Summary
static String[] extractIds(String xmlResponse)
          Extraction of the id attributes from the xml response.
static SignSignatureObject parseCreateXMLResponse(String xmlResponse, IdFormatter id_formatter, ConnectorEnvironment environment)
          This method parses the signature creation response of the signature device mocca.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parseCreateXMLResponse

public static final SignSignatureObject parseCreateXMLResponse(String xmlResponse,
                                                               IdFormatter id_formatter,
                                                               ConnectorEnvironment environment)
                                                        throws ConnectorException
This method parses the signature creation response of the signature device mocca.

Parameters:
xmlResponse - The response string.
Returns:
Returns the parsed signature object holding the data.
Throws:
ConnectorException
See Also:
SignatureObject, CodingHelper, X509Cert

extractIds

public static final String[] extractIds(String xmlResponse)
Extraction of the id attributes from the xml response.

Parameters:
xmlResponse - The xml response.
Returns:
The parsed id attributes.


Copyright © 2006-2010. All Rights Reserved.