PKCS12_SAFEBAG_set0_attrs.pod 809 B

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