logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

PKCS12_add_localkeyid - Add the localKeyId attribute to a PKCS#12 safeBag

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.

Name

       PKCS12_add_localkeyid - Add the localKeyId attribute to a PKCS#12 safeBag

Return Values

       Returns 1 for success or 0 for failure.

See Also

PKCS12_add_friendlyname_asc(3)

Synopsis

        #include <openssl/pkcs12.h>

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

See Also