X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fcms%2Fcms.h;h=5a74c4bb213597f5e2175fb0f8d42bba61f95c86;hp=6061b8885e82d24d6ea7d97e42857f0bfce61dd4;hb=ab124380301794abe87583b7a88156eaff1c2eae;hpb=c220e58f9e6e16890ebf8bb321ff45d94f4800a8 diff --git a/crypto/cms/cms.h b/crypto/cms/cms.h index 6061b8885e..5a74c4bb21 100644 --- a/crypto/cms/cms.h +++ b/crypto/cms/cms.h @@ -181,6 +181,13 @@ int CMS_RecipientInfo_ktri_get0_signer_id(CMS_RecipientInfo *ri, ASN1_OCTET_STRING **keyid, X509_NAME **issuer, ASN1_INTEGER **sno); +CMS_RecipientInfo *CMS_add0_recipient_key(CMS_ContentInfo *cms, int nid, + unsigned char *key, size_t keylen, + unsigned char *id, size_t idlen, + ASN1_GENERALIZEDTIME *date, + ASN1_OBJECT *otherTypeId, + ASN1_TYPE *otherType); + int CMS_RecipientInfo_decrypt(CMS_ContentInfo *cms, CMS_RecipientInfo *ri); int CMS_uncompress(CMS_ContentInfo *cms, BIO *dcont, BIO *out,