summaryrefslogtreecommitdiffstats
path: root/doc/crypto/X509_NAME_get0_der.pod
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2016-06-07 15:49:08 -0400
committerRich Salz <rsalz@openssl.org>2016-06-07 15:49:08 -0400
commit4692340e31985681f95008d409483d5761b6c213 (patch)
tree7617015a4bba74d8aead0fa9e04ecfb856aaefaf /doc/crypto/X509_NAME_get0_der.pod
parentfbba5d113f1294992cd99643c79860df8f64015a (diff)
Unify d2i/i2d documentation.
Make d2i_X509 a generic d2i/i2d manpage. Pull common stuff out of other d2i/i2d docs. Update find-doc-nits to know about "generic" manpages. Cleanup some overlap. Fix up a bunch of other references. Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'doc/crypto/X509_NAME_get0_der.pod')
-rw-r--r--doc/crypto/X509_NAME_get0_der.pod38
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/crypto/X509_NAME_get0_der.pod b/doc/crypto/X509_NAME_get0_der.pod
new file mode 100644
index 0000000000..722fadb944
--- /dev/null
+++ b/doc/crypto/X509_NAME_get0_der.pod
@@ -0,0 +1,38 @@
+=pod
+
+=head1 NAME
+
+=head1 SYNOPSIS
+
+ #include <openssl/x509.h>
+
+ int X509_NAME_get0_der(const unsigned char **pder, size_t *pderlen,
+ X509_NAME *nm)
+
+
+=head1 DESCRIPTION
+
+The function X509_NAME_get0_der() returns an internal pointer to the
+encoding of an B<X509_NAME> structure in B<*pder> and consisting of
+B<*pderlen> bytes. It is useful for applications that wish to examine
+the encoding of an B<X509_NAME> structure without copying it.
+
+=head1 RETURN VALUES
+
+The function X509_NAME_get0_der() returns 1 for success and 0 if an error
+occurred.
+
+=head1 SEE ALSO
+
+L<d2i_X509(3)>
+
+=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