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