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