]> git.ipfire.org Git - thirdparty/openssl.git/blame - doc/man3/X509_NAME_get0_der.pod
Deprecate the low level Diffie-Hellman functions.
[thirdparty/openssl.git] / doc / man3 / X509_NAME_get0_der.pod
CommitLineData
29e48c18
DSH
1=pod
2
3=head1 NAME
4
c952780c
RS
5X509_NAME_get0_der - get X509_NAME DER encoding
6
29e48c18
DSH
7=head1 SYNOPSIS
8
9 #include <openssl/x509.h>
10
6eabcc83
MC
11 int X509_NAME_get0_der(X509_NAME *nm, const unsigned char **pder,
12 size_t *pderlen)
7ab50749
DSH
13
14
29e48c18
DSH
15=head1 DESCRIPTION
16
7ab50749
DSH
17The function X509_NAME_get0_der() returns an internal pointer to the
18encoding of an B<X509_NAME> structure in B<*pder> and consisting of
19B<*pderlen> bytes. It is useful for applications that wish to examine
20the encoding of an B<X509_NAME> structure without copying it.
21
22=head1 RETURN VALUES
23
7ab50749
DSH
24The function X509_NAME_get0_der() returns 1 for success and 0 if an error
25occurred.
29e48c18 26
1bc74519
RS
27=head1 SEE ALSO
28
7ab50749 29L<d2i_X509(3)>
29e48c18 30
e2f92610
RS
31=head1 COPYRIGHT
32
33Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved.
34
4746f25a 35Licensed under the Apache License 2.0 (the "License"). You may not use
e2f92610
RS
36this file except in compliance with the License. You can obtain a copy
37in the file LICENSE in the source distribution or at
38L<https://www.openssl.org/source/license.html>.
39
40=cut