1PKCS12_GET_FRIENDLYNAME(3ossl)      OpenSSL     PKCS12_GET_FRIENDLYNAME(3ossl)
2
3
4

NAME

6       PKCS12_get_friendlyname - Retrieve the friendlyname attribute from a
7       PKCS#12 safeBag
8

SYNOPSIS

10        #include <openssl/pkcs12.h>
11
12        char *PKCS12_get_friendlyname(PKCS12_SAFEBAG *bag);
13

DESCRIPTION

15       PKCS12_get_friendlyname() retrieves a UTF-8 string representation of
16       the PKCS#9 friendlyName attribute for a PKCS#12 safeBag item.
17
18       bag is the PKCS12_SAFEBAG to retrieve the attribute from.
19

RETURN VALUES

21       A UTF-8 string, or NULL if the attribute was either not present or an
22       error occurred.
23
24       The returned string is allocated by OpenSSL and should be freed by the
25       user.
26

SEE ALSO

28       PKCS12_add_friendlyname_asc(3)
29
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       <https://www.openssl.org/source/license.html>.
37
38
39
403.1.1                             2023-08-31    PKCS12_GET_FRIENDLYNAME(3ossl)
Impressum