1=pod 2 3=head1 NAME 4 5PKCS12_SAFEBAG_set0_attrs 6- Set attributes for a PKCS#12 safeBag 7 8=head1 SYNOPSIS 9 10 #include <openssl/pkcs12.h> 11 12 void PKCS12_SAFEBAG_set0_attrs(PKCS12_SAFEBAG *bag, STACK_OF(X509_ATTRIBUTE) *attrs); 13 14=head1 DESCRIPTION 15 16PKCS12_SAFEBAG_set0_attrs() assigns the stack of B<X509_ATTRIBUTE>s to a 17PKCS#12 safeBag. I<bag> is the B<PKCS12_SAFEBAG> to assign the attributes to. 18 19=head1 RETURN VALUES 20 21PKCS12_SAFEBAG_set0_attrs() does not return a value. 22 23=head1 HISTORY 24 25This function was added in OpenSSL 3.2. 26 27=head1 COPYRIGHT 28 29Copyright 2019-2024 The OpenSSL Project Authors. All Rights Reserved. 30 31Licensed under the Apache License 2.0 (the "License"). You may not use 32this file except in compliance with the License. You can obtain a copy 33in the file LICENSE in the source distribution or at 34L<https://www.openssl.org/source/license.html>. 35 36=cut 37