From: schwarze Date: Thu, 22 Feb 2018 16:26:27 +0000 (+0000) Subject: In x509.h rev. 1.30 2018/02/20 17:04:58, jsing@ provided X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9a79e339526a9206a8112fdf433afa47cac6e36a;p=openbsd In x509.h rev. 1.30 2018/02/20 17:04:58, jsing@ provided X509_CRL_get0_signature(3) and in rev. 1.31 2018/02/20 17:06:19 X509_REQ_get0_signature(3). Document them. --- diff --git a/lib/libcrypto/man/X509_get0_signature.3 b/lib/libcrypto/man/X509_get0_signature.3 index 4c6c3f1e4f0..2d0f55ebb9d 100644 --- a/lib/libcrypto/man/X509_get0_signature.3 +++ b/lib/libcrypto/man/X509_get0_signature.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: X509_get0_signature.3,v 1.1 2018/02/19 08:20:26 schwarze Exp $ +.\" $OpenBSD: X509_get0_signature.3,v 1.2 2018/02/22 16:26:27 schwarze Exp $ .\" selective merge up to: .\" OpenSSL man3/X509_get0_signature 2f7a2520 Apr 25 17:28:08 2017 +0100 .\" @@ -49,11 +49,13 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: February 19 2018 $ +.Dd $Mdocdate: February 22 2018 $ .Dt X509_GET0_SIGNATURE 3 .Os .Sh NAME .Nm X509_get0_signature , +.Nm X509_REQ_get0_signature , +.Nm X509_CRL_get0_signature , .Nm X509_get_signature_nid .Nd signature information .Sh SYNOPSIS @@ -64,20 +66,37 @@ .Fa "const X509_ALGOR **palg" .Fa "const X509 *x" .Fc +.Ft void +.Fo X509_REQ_get0_signature +.Fa "const X509_REQ *req" +.Fa "const ASN1_BIT_STRING **psig" +.Fa "const X509_ALGOR **palg" +.Fc +.Ft void +.Fo X509_CRL_get0_signature +.Fa "const X509_CRL *crl" +.Fa "const ASN1_BIT_STRING **psig" +.Fa "const X509_ALGOR **palg" +.Fc .Ft int .Fo X509_get_signature_nid .Fa "const X509 *x" .Fc .Sh DESCRIPTION -.Fn X509_get0_signature -sets -.Pf * Fa psig -to the signature of -.Fa x +.Fn X509_get0_signature , +.Fn X509_REQ_get0_signature , and +.Fn X509_CRL_get0_signature +set +.Pf * Fa psig +to the signature and .Pf * Fa palg to the signature algorithm of -.Fa x . +.Fa x , +.Fa req , +or +.Fa crl , +respectively. The values returned are internal pointers that must not be freed by the caller. .Pp @@ -92,10 +111,13 @@ signature in a form where is not appropriate, for example in a non-standard or unsupported format. .Sh SEE ALSO .Xr OBJ_obj2nid 3 , +.Xr X509_CRL_get0_by_serial 3 , +.Xr X509_CRL_new 3 , .Xr X509_get_pubkey 3 , .Xr X509_get_subject_name 3 , .Xr X509_get_version 3 , .Xr X509_new 3 , +.Xr X509_REQ_new 3 , .Xr X509_sign 3 , .Xr X509_verify_cert 3 .Sh HISTORY