com.ibm.di.security.pkcs7
Class PKCS7EncryptMessage

java.lang.Object
  extended by com.ibm.di.security.pkcs7.PKCS7EncryptMessage

public class PKCS7EncryptMessage
extends Object


Constructor Summary
PKCS7EncryptMessage(String pkcs7KeyStorePath, String pkcs7KeyStorePass, String remoteCertAlias, String myCertAlias)
           
 
Method Summary
 String encrypt(String message)
           
 String getCipherAlgorithm()
           
 int getKeySize()
           
 String getSignatureAlgorithm()
           
 void setCipherAlgorithm(String algorithm)
           
 void setKeySize(int keySize)
           
 void setSignatureAlgorithm(String signatureAlgorithm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PKCS7EncryptMessage

public PKCS7EncryptMessage(String pkcs7KeyStorePath,
                           String pkcs7KeyStorePass,
                           String remoteCertAlias,
                           String myCertAlias)
                    throws Exception
Throws:
Exception
Method Detail

encrypt

public String encrypt(String message)
               throws Exception
Throws:
Exception

getCipherAlgorithm

public String getCipherAlgorithm()

setCipherAlgorithm

public void setCipherAlgorithm(String algorithm)

getKeySize

public int getKeySize()

setKeySize

public void setKeySize(int keySize)

getSignatureAlgorithm

public String getSignatureAlgorithm()

setSignatureAlgorithm

public void setSignatureAlgorithm(String signatureAlgorithm)