|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.util.IDIpkcs7Crypto
public class IDIpkcs7Crypto
Constructor Summary | |
---|---|
IDIpkcs7Crypto()
|
Method Summary | |
---|---|
static RacfPassword |
getPasswordObject(byte[] pkcs7EnvelopeBytes,
String receiverPath,
String receiverKSpw,
String receiverCertAlias,
String receivercertPW,
String signerPath,
String signerKSpw,
String signerCertAlias)
Obtain object representing plain ascii text from a PKCS7 encoded, encrypted, signed password pkcs7 payload. |
static RacfPassword |
getPasswordObject(com.ibm.security.pkcs7.ContentInfo contentInfo,
String receiverPath,
String receiverKSpw,
String receiverCertAlias,
String receivercertPW,
String signerPath,
String signerKSpw,
String signerCertAlias)
getPasswordObject: Obtain object representing plain ascii text from a PKCS7 encoded, encrypted, signed password pkcs7 payload. |
static RacfPassword |
getPasswordObject(String pkcs7EnvelopePath,
String receiverPath,
String receiverKSpw,
String receiverCertAlias,
String receivercertPW,
String signerPath,
String signerKSpw,
String signerCertAlias)
Obtain object representing plain ascii text from a PKCS7 encoded, encrypted, signed password pkcs7 payload. |
static void |
main(String[] args)
|
static boolean |
verifySignature(com.ibm.security.pkcs7.SignedData signeddata,
Certificate signerCert)
verifySignature |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IDIpkcs7Crypto()
Method Detail |
---|
public static void main(String[] args)
public static RacfPassword getPasswordObject(byte[] pkcs7EnvelopeBytes, String receiverPath, String receiverKSpw, String receiverCertAlias, String receivercertPW, String signerPath, String signerKSpw, String signerCertAlias) throws Exception
pkcs7EnvelopeBytes
- byte[] containing containing PKCS7 package to be decryptedreceiverPath
- String representing file path to recipient JKS keystore filereceiverKSpw
- String which is password to recipient keystore filereceiverCertAlias
- String receiver certifcate alias namereceivercertPW
- String which is password to recipient certificatesignerPath
- String representing file path to signer JKS keystore filesignerKSpw
- String which is password to signer keystore filesignerCertAlias
- String signer certifcate alias name
java.langException
- when underlying funtion fails
Exception
public static RacfPassword getPasswordObject(com.ibm.security.pkcs7.ContentInfo contentInfo, String receiverPath, String receiverKSpw, String receiverCertAlias, String receivercertPW, String signerPath, String signerKSpw, String signerCertAlias) throws Exception
contentInfo
- ContentInfo obejct representing envelope to be decryptedreceiverPath
- String representing file path to recipient JKS keystore filereceiverKSpw
- String which is password to recipient keystore filereceiverCertAlias
- String receiver certifcate alias namereceivercertPW
- String which is password to recipient certificatesignerPath
- String representing file path to signer JKS keystore filesignerKSpw
- String which is password to signer keystore filesignerCertAlias
- String signer certifcate alias name
java.langException
- when underlying funtion fails
Exception
public static RacfPassword getPasswordObject(String pkcs7EnvelopePath, String receiverPath, String receiverKSpw, String receiverCertAlias, String receivercertPW, String signerPath, String signerKSpw, String signerCertAlias) throws Exception
pkcs7EnvelopePath
- String containing path to file containing PKCS7 package to be decryptedreceiverPath
- String representing file path to recipient JKS keystore filereceiverKSpw
- String which is password to recipient keystore filereceiverCertAlias
- String receiver certifcate alias namereceivercertPW
- String which is password to recipient certificatesignerPath
- String representing file path to signer JKS keystore filesignerKSpw
- String which is password to signer keystore filesignerCertAlias
- String signer certifcate alias name
java.langException
- when underlying funtion fails
Exception
public static boolean verifySignature(com.ibm.security.pkcs7.SignedData signeddata, Certificate signerCert) throws Exception
signeddata
- SignedData object from envelopesignerCert
- X509Certificate from issuer/signer
Exception
- when underlying function fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |