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