]>
Commit | Line | Data |
---|---|---|
29e48c18 DSH |
1 | =pod |
2 | ||
3 | =head1 NAME | |
4 | ||
c952780c RS |
5 | X509_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 |
17 | The function X509_NAME_get0_der() returns an internal pointer to the |
18 | encoding of an B<X509_NAME> structure in B<*pder> and consisting of | |
19 | B<*pderlen> bytes. It is useful for applications that wish to examine | |
20 | the encoding of an B<X509_NAME> structure without copying it. | |
21 | ||
22 | =head1 RETURN VALUES | |
23 | ||
7ab50749 DSH |
24 | The function X509_NAME_get0_der() returns 1 for success and 0 if an error |
25 | occurred. | |
29e48c18 | 26 | |
1bc74519 RS |
27 | =head1 SEE ALSO |
28 | ||
7ab50749 | 29 | L<d2i_X509(3)> |
29e48c18 | 30 | |
e2f92610 RS |
31 | =head1 COPYRIGHT |
32 | ||
33 | Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved. | |
34 | ||
4746f25a | 35 | Licensed under the Apache License 2.0 (the "License"). You may not use |
e2f92610 RS |
36 | this file except in compliance with the License. You can obtain a copy |
37 | in the file LICENSE in the source distribution or at | |
38 | L<https://www.openssl.org/source/license.html>. | |
39 | ||
40 | =cut |