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 COPYRIGHT
24
25Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved.
26
27Licensed under the Apache License 2.0 (the "License").  You may not use
28this file except in compliance with the License.  You can obtain a copy
29in the file LICENSE in the source distribution or at
30L<https://www.openssl.org/source/license.html>.
31
32=cut
33