PKCS12_ADD_FRIENDLYNAME_ASC(3ossl)
πΈ NAME πΈ
okay so bestie, welcome to the manual page for PKCS12_ADD_FRIENDLYNAME_ASC(3ossl) from OpenSSL β it's giving friendlyname energy and I'm obsessed. π
PKCS12_add_friendlyname_asc, PKCS12_add_friendlyname_utf8, PKCS12_add_friendlyname_uni β Functions to add the friendlyname attribute to a PKCS#12 safeBag. periodt. β¨
π SYNOPSIS π
#include <openssl/pkcs12.h>
int PKCS12_add_friendlyname_asc(PKCS12_SAFEBAG *bag, const char *name,
int namelen);
int PKCS12_add_friendlyname_utf8(PKCS12_SAFEBAG *bag, const char *name,
int namelen);
int PKCS12_add_friendlyname_uni(PKCS12_SAFEBAG *bag,
const unsigned char *name, int namelen);
π DESCRIPTION π
So these three functions are basically the friend-group of friendlyname adders: all of them add a PKCS#9 friendlyName attribute to a PKCS#12 safeBag, but each one is speaking its own string language. iconic behavior, honestly. π
PKCS12_add_friendlyname_asc()β adds an ASCII string representation of the PKCS#9friendlyNameattribute to a PKCS#12 safeBag. ASCII bestie has entered the chat. π«ΆPKCS12_add_friendlyname_utf8()β adds a UTF-8 string representation of the PKCS#9friendlyNameattribute to a PKCS#12 safeBag. UTF-8 girlie is thriving. π¦PKCS12_add_friendlyname_uni()β adds a Unicode string representation of the PKCS#9friendlyNameattribute to a PKCS#12 safeBag. Unicode bestie understood the assignment. π
And like, bag is the PKCS12_SAFEBAG to add the attribute to. that's the whole vibe. β¨
π₯ RETURN VALUES π₯
Returns 1 for success or 0 for failure. no cap, that's the tea. π
π¦ SEE ALSO π¦
π COPYRIGHT π
Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at https://www.openssl.org/source/license.html.
legal bestie has left the group chat, but respectfully. π
mwah π this page is from OpenSSL 3.5.6, dated 2026-04-07 β bye bestie, go slay your safeBags! ππΈπ
π¦ where this page comes from
- freebsd 15.1: base 15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms