nl.iShopService.util
Class Signer

java.lang.Object
  extended by nl.iShopService.util.Signer

public final class Signer
extends java.lang.Object

Signs an String according to bank's specification for digital signing

Author:
jvdm

Constructor Summary
Signer()
           
 
Method Summary
static java.lang.String sign(java.lang.String xmlMessage, java.lang.String private_key, java.lang.String merchantCertificate)
          Signs an String according to bank's specification for digital signing, using a private key and a merchan certificate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Signer

public Signer()
Method Detail

sign

public static java.lang.String sign(java.lang.String xmlMessage,
                                    java.lang.String private_key,
                                    java.lang.String merchantCertificate)
Signs an String according to bank's specification for digital signing, using a private key and a merchan certificate

Parameters:
xmlMessage - unsigned message
private_key - webshop private key
merchantCertificate - webshop certificate
Returns:
signed string occording rabobank specification