at.knowcenter.wag.egov.egiz.sig.connectors.moa
Class MOAHelper

java.lang.Object
  extended byat.knowcenter.wag.egov.egiz.sig.connectors.moa.MOAHelper

public class MOAHelper
extends Object

Author:
wprinz

Constructor Summary
MOAHelper()
           
 
Method Summary
static SignSignatureObject parseCreateXMLResponse(String xmlResponse, IdFormatter id_formatter, ConnectorEnvironment environment)
          This method parses the MOA-Response string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MOAHelper

public MOAHelper()
Method Detail

parseCreateXMLResponse

public static SignSignatureObject parseCreateXMLResponse(String xmlResponse,
                                                         IdFormatter id_formatter,
                                                         ConnectorEnvironment environment)
                                                  throws ConnectorException
This method parses the MOA-Response string.

It separates the SignatureValue, X509IssuerName, SigningTime, X509SerialNumber, X509Certificate, CertDigest and DigestValues. If the X509Certificate is extracted it would be stored in the certificates directory.

Parameters:
xmlResponse - the response string from the MOA sign-request
Throws:
ConnectorException - ErrorCode (303, 304)
See Also:
SignatureObject, CodingHelper, X509Cert


Copyright © 2006-2010. All Rights Reserved.