PKCS12_ADD_LOCALKEYID(3SSL)
β¨ NAME β¨
okay so bestie, this is PKCS12_add_localkeyid β the lil function that adds the localKeyId attribute to a PKCS#12 safeBag π (it's from the OpenSSL 3SSL manual, if you were wondering where we are)
πΈ SYNOPSIS πΈ
#include <openssl/pkcs12.h>
int PKCS12_add_localkeyid(PKCS12_SAFEBAG *bag, const unsigned char *name,
int namelen);
π DESCRIPTION π
so PKCS12_add_localkeyid() does exactly one thing and it does it gorgeously: it adds an octet string representation of the PKCS#9 localKeyId attribute to a PKCS#12 safeBag. no cap. that's the whole vibe β¨
and bag is the PKCS12_SAFEBAG you're adding that attribute to π that's it, that's the parameter.
π RETURN VALUES π
1β success, slay, we ate π«Ά0β failure π (it's giving tragedy)
π¦ SEE ALSO π¦
PKCS12_add_friendlyname_asc(3)β the bestie function, go read it too π
π COPYRIGHT π
Copyright 2019-2026 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>.
fr fr that's the whole page, no filler, all facts, main character energy only π
mwah π this was OpenSSL 4.0.3, dated 2026-09-29, and forever known as the PKCS12_ADD_LOCALKEYID(3SSL) page. iykyk βππΈ
π¦ where this page comes from
- ubuntu stonking: libssl-doc 4.0.3-1ubuntu1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms