PKCS12_get_friendlyname.pod 997 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. =pod
  2. =head1 NAME
  3. PKCS12_get_friendlyname - Retrieve the friendlyname attribute from a PKCS#12 safeBag
  4. =head1 SYNOPSIS
  5. #include <openssl/pkcs12.h>
  6. char *PKCS12_get_friendlyname(PKCS12_SAFEBAG *bag);
  7. =head1 DESCRIPTION
  8. PKCS12_get_friendlyname() retrieves a UTF-8 string representation of the PKCS#9
  9. friendlyName attribute for a PKCS#12 safeBag item.
  10. I<bag> is the B<PKCS12_SAFEBAG> to retrieve the attribute from.
  11. =head1 RETURN VALUES
  12. A UTF-8 string, or NULL if the attribute was either not present or an error occurred.
  13. The returned string is allocated by OpenSSL and should be freed by the user.
  14. =head1 SEE ALSO
  15. L<PKCS12_add_friendlyname_asc(3)>
  16. =head1 COPYRIGHT
  17. Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
  18. Licensed under the Apache License 2.0 (the "License"). You may not use
  19. this file except in compliance with the License. You can obtain a copy
  20. in the file LICENSE in the source distribution or at
  21. L<https://www.openssl.org/source/license.html>.
  22. =cut