|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectat.knowcenter.wag.egov.egiz.sig.connectors.bku.EnvelopedBase64BKUConnector
| Nested Class Summary | |
static class |
EnvelopedBase64BKUConnector.Environment
Holds environment configuration information like templates. |
| Field Summary | |
protected EnvelopedBase64BKUConnector.Environment |
environment
The environemnt configuration of this connector containing templates and other configurable elements. |
| Constructor Summary | |
EnvelopedBase64BKUConnector(String profile)
Constructor that builds the configuration environment for this connector according to the given profile. |
|
| Method Summary | |
SignSignatureObject |
analyzeSignResponse(Properties response_properties)
Analyzes the sign response xml and extracts the signature data. |
SignatureResponse |
analyzeVerifyResponse(Properties response_properties)
Analyzes the verify response string. |
protected String |
computeSignedPropertiesReplace(String verify_xml,
AlgorithmSuiteObject algSuite)
|
SignSignatureObject |
doSign(SignatureData data)
Performs a sign. |
SignatureResponse |
doVerify(SignatureData data,
SignSignatureObject so)
Performs a verification. |
String |
prepareSignRequest(SignatureData data)
Prepares the sign request xml to be sent using the sign request template. |
String |
prepareVerifyRequest(SignatureData data,
SignSignatureObject so)
Prepares the verify request xml to be sent using the verify request template. |
String |
prepareXMLContent(SignatureData data,
SignSignatureObject so)
Prepares the XML content the holds the actual signature data. |
protected Properties |
sendRequest(String url,
String request_string)
Sends the request to the given URL. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected EnvelopedBase64BKUConnector.Environment environment
| Constructor Detail |
public EnvelopedBase64BKUConnector(String profile)
throws ConnectorException
If confuguration parameters are not defined on that profile, the default parameters defined in the configuration are used.
This is the new "hotfix" base64 connector.
profile - The profile from which the Environment should be assembled.
ConnectorException - f.e.| Method Detail |
public SignSignatureObject doSign(SignatureData data)
throws ConnectorException
Connector
doSign in interface Connectordata - The data to be signed.
ConnectorException - Thrown if something goes wrong.Connector.doSign(at.knowcenter.wag.egov.egiz.sig.SignatureData)
public SignatureResponse doVerify(SignatureData data,
SignSignatureObject so)
throws ConnectorException
Connector
doVerify in interface Connectordata - The data to be verified.so - The signature object with the signature information.
ConnectorException - Thrown if something goes wrong.Connector.doVerify(at.knowcenter.wag.egov.egiz.sig.SignatureData,
at.knowcenter.wag.egov.egiz.sig.connectors.bku.SignSignatureObject)
public String prepareXMLContent(SignatureData data,
SignSignatureObject so)
throws ConnectorException
This strongly rebuilds the XML content as retuned from a sign request.
data - The data.so - The signature object containing the signature information.
ConnectorException - f.e.
protected String computeSignedPropertiesReplace(String verify_xml,
AlgorithmSuiteObject algSuite)
public String prepareSignRequest(SignatureData data)
throws ConnectorException
prepareSignRequest in interface LocalConnectordata - The SignatureData.
ConnectorException - f.e.
public String prepareVerifyRequest(SignatureData data,
SignSignatureObject so)
throws ConnectorException
prepareVerifyRequest in interface LocalConnectordata - The SignatureData.so - The signature information object.
ConnectorException - f.e.
protected Properties sendRequest(String url,
String request_string)
throws ConnectorException
url - The URL.request_string - The request string.
ConnectorException - F.e.
public SignSignatureObject analyzeSignResponse(Properties response_properties)
throws ConnectorException
analyzeSignResponse in interface LocalConnectorresponse_properties - The response properties containing the response String and
transport related information.
ConnectorException - f.e.
public SignatureResponse analyzeVerifyResponse(Properties response_properties)
throws ConnectorException
analyzeVerifyResponse in interface LocalConnectorresponse_properties - The response properties containing the response XML.
ConnectorException - f.e.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||