Home | History | Annotate | Line # | Download | only in man3
      1 =pod
      2 
      3 =head1 NAME
      4 
      5 X509_SIG_get0, X509_SIG_getm - DigestInfo functions
      6 
      7 =head1 SYNOPSIS
      8 
      9  #include <openssl/x509.h>
     10 
     11  void X509_SIG_get0(const X509_SIG *sig, const X509_ALGOR **palg,
     12                     const ASN1_OCTET_STRING **pdigest);
     13  void X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg,
     14                     ASN1_OCTET_STRING **pdigest);
     15 
     16 =head1 DESCRIPTION
     17 
     18 X509_SIG_get0() returns pointers to the algorithm identifier and digest
     19 value in B<sig>. X509_SIG_getm() is identical to X509_SIG_get0()
     20 except the pointers returned are not constant and can be modified:
     21 for example to initialise them.
     22 
     23 =head1 RETURN VALUES
     24 
     25 X509_SIG_get0() and X509_SIG_getm() return no values.
     26 
     27 =head1 SEE ALSO
     28 
     29 L<d2i_X509(3)>
     30 
     31 =head1 COPYRIGHT
     32 
     33 Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved.
     34 
     35 Licensed under the Apache License 2.0 (the "License").  You may not use
     36 this file except in compliance with the License.  You can obtain a copy
     37 in the file LICENSE in the source distribution or at
     38 L<https://www.openssl.org/source/license.html>.
     39 
     40 =cut
     41