2002-10-07 13:07:00 +00:00
|
|
|
=pod
|
|
|
|
|
|
|
|
=head1 NAME
|
|
|
|
|
2016-08-20 12:02:09 +00:00
|
|
|
X509_SIG_get0, X509_SIG_getm - DigestInfo functions
|
2002-10-07 13:07:00 +00:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
#include <openssl/x509.h>
|
|
|
|
|
2016-08-17 16:27:05 +00:00
|
|
|
void X509_SIG_get0(const X509_SIG *sig, const X509_ALGOR **palg,
|
|
|
|
const ASN1_OCTET_STRING **pdigest);
|
2016-08-20 12:02:09 +00:00
|
|
|
void X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg,
|
|
|
|
ASN1_OCTET_STRING **pdigest,
|
2002-10-07 13:07:00 +00:00
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2016-03-10 15:04:46 +00:00
|
|
|
X509_SIG_get0() returns pointers to the algorithm identifier and digest
|
2016-08-20 12:02:09 +00:00
|
|
|
value in B<sig>. X509_SIG_getm() is identical to X509_SIG_get0()
|
2016-08-17 16:27:05 +00:00
|
|
|
except the pointers returned are not constant and can be modified:
|
|
|
|
for example to initialise them.
|
2016-03-10 15:04:46 +00:00
|
|
|
|
2002-10-07 13:07:00 +00:00
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2015-08-17 19:21:33 +00:00
|
|
|
L<d2i_X509(3)>
|
2002-10-07 13:07:00 +00:00
|
|
|
|
2016-05-18 15:44:05 +00:00
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
|
|
|
Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved.
|
|
|
|
|
|
|
|
Licensed under the OpenSSL license (the "License"). You may not use
|
|
|
|
this file except in compliance with the License. You can obtain a copy
|
|
|
|
in the file LICENSE in the source distribution or at
|
|
|
|
L<https://www.openssl.org/source/license.html>.
|
|
|
|
|
|
|
|
=cut
|