Sponsor:

Your company here, and a link to your site. Click to find out more.

PKCS12_SAFEBAG_set0_attrs.3ossl - Man Page

Set attributes for a PKCS#12 safeBag

Synopsis

 #include <openssl/pkcs12.h>

 void PKCS12_SAFEBAG_set0_attrs(PKCS12_SAFEBAG *bag, STACK_OF(X509_ATTRIBUTE) *attrs);

Description

PKCS12_SAFEBAG_set0_attrs() assigns the stack of X509_ATTRIBUTEs to a PKCS#12 safeBag. bag is the PKCS12_SAFEBAG to assign the attributes to.

Return Values

PKCS12_SAFEBAG_set0_attrs() does not return a value.

Info

2024-04-04 3.2.1 OpenSSL