X509_SIG_get0.pod 1.0 KB

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