1 1.1 christos =pod 2 1.1 christos 3 1.1 christos =head1 NAME 4 1.1 christos 5 1.1 christos PKCS12_add_localkeyid - Add the localKeyId attribute to a PKCS#12 safeBag 6 1.1 christos 7 1.1 christos =head1 SYNOPSIS 8 1.1 christos 9 1.1 christos #include <openssl/pkcs12.h> 10 1.1 christos 11 1.1 christos int PKCS12_add_localkeyid(PKCS12_SAFEBAG *bag, const char *name, 12 1.1 christos int namelen); 13 1.1 christos 14 1.1 christos =head1 DESCRIPTION 15 1.1 christos 16 1.1 christos PKCS12_add_localkeyid() adds an octet string representation of the PKCS#9 17 1.1 christos localKeyId attribute to a PKCS#12 safeBag. 18 1.1 christos 19 1.1 christos I<bag> is the B<PKCS12_SAFEBAG> to add the attribute to. 20 1.1 christos 21 1.1 christos =head1 RETURN VALUES 22 1.1 christos 23 1.1 christos Returns 1 for success or 0 for failure. 24 1.1 christos 25 1.1 christos =head1 SEE ALSO 26 1.1 christos 27 1.1 christos L<PKCS12_add_friendlyname_asc(3)> 28 1.1 christos 29 1.1 christos =head1 COPYRIGHT 30 1.1 christos 31 1.1 christos Copyright 2019 The OpenSSL Project Authors. All Rights Reserved. 32 1.1 christos 33 1.1 christos Licensed under the Apache License 2.0 (the "License"). You may not use 34 1.1 christos this file except in compliance with the License. You can obtain a copy 35 1.1 christos in the file LICENSE in the source distribution or at 36 1.1 christos L<https://www.openssl.org/source/license.html>. 37 1.1 christos 38 1.1 christos =cut 39