PKCS12_SAFEBAG_SET0_ATTRS(3ossl)

πŸ“¦ version 3.5.0, in opensuse-leap 16.0

✨ NAME ✨

Okay so, welcome to the PKCS12_SAFEBAG_SET0_ATTRS(3ossl) page, bestie πŸ’– β€” this one is literally about PKCS12_SAFEBAG_set0_attrs, which does exactly what it says on the label: Set attributes for a PKCS#12 safeBag. Slay. πŸŽ€


🌸 SYNOPSIS 🌸

#include <openssl/pkcs12.h>

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

πŸ¦‹ DESCRIPTION πŸ¦‹

PKCS12_SAFEBAG_set0_attrs() assigns the stack of X509_ATTRIBUTEs to a PKCS#12 safeBag. The bag argument is the PKCS12_SAFEBAG you’re assigning the attributes to, iykyk. πŸ’…


πŸ’€ RETURN VALUES πŸ’€

PKCS12_SAFEBAG_set0_attrs() does not return a value. It’s void, so there’s literally no return value to check, bestie. 😭


πŸ‘‘ HISTORY πŸ‘‘

This function was added in OpenSSL 3.2. Iconic behavior, no cap. ✨


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>.


Signed, sealed, and very demure: OpenSSL 3.5.0, dated 2026-09-25, wrapping up the PKCS12_SAFEBAG_SET0_ATTRS(3ossl) manual. πŸ«ΆπŸ’–

πŸ“¦ where this page comes from