PKCS12_SAFEBAG_set0_attrs(3ssl)

PKCS12_SAFEBAG_set0_attrs3ssl

Set attributes for a pkcs#12 safebag

Usage

 #include <openssl/pkcs12.h>
 void PKCS12_SAFEBAG_set0_attrs(PKCS12_SAFEBAG *bag, STACK_OF(X509_ATTRIBUTE) *attrs);

Overview

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.

Return values

PKCS12_SAFEBAG_set0_attrs() does not return a value.

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

History

This function was added in OpenSSL 3.2.

From openssl 3.6.5-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.