public interface PKCS7EnvelopedDataHandler
| Modifier and Type | Method and Description |
|---|---|
byte[] |
buildPKCS7EnvelopedData(Credentials[] credentials,
byte[] envelopedData,
Map encryptParams)
This API takes the credentials and encrypt parameters using which it encrypts enveloped data.
|
byte[] |
getEnvelopeData(Credentials recipient,
byte[] pkcs7)
This API takes the credentials and encrypted enveloped data packet.
|
byte[] buildPKCS7EnvelopedData(Credentials[] credentials, byte[] envelopedData, Map encryptParams) throws Exception
This API takes the credentials and encrypt parameters using which it encrypts enveloped data. It creates the enveloped data packet which has all the information and encrypted data and encrypted key. This enveloped data is being returned.
credentials - envelopedData - encryptParams - Exceptionbyte[] getEnvelopeData(Credentials recipient, byte[] pkcs7) throws Exception
This API takes the credentials and encrypted enveloped data packet. Using the information stored in the packet and credentials decrypt the enveloped data and returns the decrypted data.
recipient - pkcs7 - ExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved