1=pod 2 3=head1 NAME 4 5PBMAC1_get1_pbkdf2_param - Function to manipulate a PBMAC1 6MAC structure 7 8=head1 SYNOPSIS 9 10 #include <openssl/x509.h> 11 12 PBKDF2PARAM *PBMAC1_get1_pbkdf2_param(const X509_ALGOR *macalg); 13 14=head1 DESCRIPTION 15 16PBMAC1_get1_pbkdf2_param() retrieves a B<PBKDF2PARAM> structure from an 17I<X509_ALGOR> structure. 18 19=head1 RETURN VALUES 20 21PBMAC1_get1_pbkdf2_param() returns NULL in case when PBMAC1 uses an algorithm 22apart from B<PBKDF2> or when passed incorrect parameters and a pointer to 23B<PBKDF2PARAM> structure otherwise. 24 25=head1 CONFORMING TO 26 27IETF RFC 9579 (L<https://tools.ietf.org/html/rfc9579>) 28 29=head1 SEE ALSO 30 31L<openssl-pkcs12(1)> 32 33=head1 HISTORY 34 35The I<PBMAC1_get1_pbkdf2_param> function was added in OpenSSL 3.4. 36 37=head1 COPYRIGHT 38 39Copyright 2021-2024 The OpenSSL Project Authors. All Rights Reserved. 40 41Licensed under the Apache License 2.0 (the "License"). You may not use 42this file except in compliance with the License. You can obtain a copy 43in the file LICENSE in the source distribution or at 44L<https://www.openssl.org/source/license.html>. 45 46=cut 47