com.cybersource.ws.client
Class SignedAndEncryptedMessageHandler

java.lang.Object
  extended by com.cybersource.ws.client.BaseMessageHandler
      extended by com.cybersource.ws.client.SignedAndEncryptedMessageHandler

public class SignedAndEncryptedMessageHandler
extends BaseMessageHandler

Created by jeaton on 3/1/2016.


Field Summary
static String DIGEST_ALGORITHM
           
static String SIGNATURE_ALGORITHM
           
 
Method Summary
 Document createSignedDoc(Document workingDocument, String senderAlias, String password, org.apache.ws.security.message.WSSecHeader secHeader)
           
 Document handleMessageCreation(Document workingDocument, String senderAlias, String password)
           
 
Methods inherited from class com.cybersource.ws.client.BaseMessageHandler
addIdentityToKeyStore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIGNATURE_ALGORITHM

public static final String SIGNATURE_ALGORITHM
See Also:
Constant Field Values

DIGEST_ALGORITHM

public static final String DIGEST_ALGORITHM
See Also:
Constant Field Values
Method Detail

handleMessageCreation

public Document handleMessageCreation(Document workingDocument,
                                      String senderAlias,
                                      String password)
                               throws SignEncryptException,
                                      com.cybersource.ws.client.SignException
Throws:
SignEncryptException
com.cybersource.ws.client.SignException

createSignedDoc

public Document createSignedDoc(Document workingDocument,
                                String senderAlias,
                                String password,
                                org.apache.ws.security.message.WSSecHeader secHeader)
                         throws com.cybersource.ws.client.SignException
Throws:
com.cybersource.ws.client.SignException


Copyright © 2016. All Rights Reserved.