com.ibm.di.security.pkcs7
Class PKCS7EncryptMessage
java.lang.Object
com.ibm.di.security.pkcs7.PKCS7EncryptMessage
public class PKCS7EncryptMessage
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PKCS7EncryptMessage
public PKCS7EncryptMessage(String pkcs7KeyStorePath,
String pkcs7KeyStorePass,
String remoteCertAlias,
String myCertAlias)
throws Exception
- Throws:
Exception
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)