Decrypt CMS PasswordRecipientInfo key material and store it for a later CMS_decrypt().
Synopsis
Declared in <openssl/cms.h>
int
CMS_decrypt_set1_password(
CMS_ContentInfo* cms,
unsigned char* pass,
ssize_t passlen);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
cms |
Enveloped ContentInfo containing a password recipient. |
pass |
Password bytes used to derive the key‐encryption key. |
passlen |
Length of |
Created with MrDocs