PKCS12_add_localkeyid.3ossl - Man Page

Add the localKeyId attribute to a PKCS#12 safeBag

Synopsis

 #include <openssl/pkcs12.h>

 int PKCS12_add_localkeyid(PKCS12_SAFEBAG *bag, const char *name,
                           int namelen);

Description

PKCS12_add_localkeyid() adds an octet string representation of the PKCS#9 localKeyId attribute to a PKCS#12 safeBag.

bag is the PKCS12_SAFEBAG to add the attribute to.

Return Values

Returns 1 for success or 0 for failure.

See Also

PKCS12_add_friendlyname_asc(3)

Info

2024-04-04 3.2.1 OpenSSL