PKCS12_SAFEBAG_SET0_ATTRS(3ossl)

πŸ“¦
version 15.1 Β· 2 versions
, in freebsd 15.1

πŸ’– NAME πŸ’–

PKCS12_SAFEBAG_set0_attrs β€” set attributes for a PKCS#12 safeBag. This is the OpenSSL 3ossl manual page, bestie ✨

✨ SYNOPSIS ✨

#include <openssl/pkcs12.h>

void PKCS12_SAFEBAG_set0_attrs(PKCS12_SAFEBAG *bag, STACK_OF(X509_ATTRIBUTE) *attrs);

πŸŽ€ DESCRIPTION πŸŽ€

Okay so PKCS12_SAFEBAG_set0_attrs() assigns the stack of X509_ATTRIBUTEs to a PKCS#12 safeBag. bag is the PKCS12_SAFEBAG to assign the attributes to. That's literally the whole assignment vibe β€” bag gets the attrs, slay πŸ’…

πŸ’… RETURN VALUES πŸ’…

PKCS12_SAFEBAG_set0_attrs() does not return a value. Not even a little one. It's giving void, and honestly? iconic 🫢

πŸ¦‹ HISTORY πŸ¦‹

This function was added in OpenSSL 3.2. So that's the era it showed up in, periodt ✨

Copyright 2019-2024 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>.


k bye bestie πŸ’– this page is from OpenSSL source/version 3.5.6, dated 2026-04-07 β€” PKCS12_SAFEBAG_SET0_ATTRS(3ossl) ✨

πŸ“¦ where this page comes from