1X509_NAME_GET0_DER(3) OpenSSL X509_NAME_GET0_DER(3)
2
3
4
6 X509_NAME_get0_der - get X509_NAME DER encoding
7
9 #include <openssl/x509.h>
10
11 int X509_NAME_get0_der(X509_NAME *nm, const unsigned char **pder,
12 size_t *pderlen)
13
15 The function X509_NAME_get0_der() returns an internal pointer to the
16 encoding of an X509_NAME structure in *pder and consisting of *pderlen
17 bytes. It is useful for applications that wish to examine the encoding
18 of an X509_NAME structure without copying it.
19
21 The function X509_NAME_get0_der() returns 1 for success and 0 if an
22 error occurred.
23
25 d2i_X509(3)
26
28 Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved.
29
30 Licensed under the OpenSSL license (the "License"). You may not use
31 this file except in compliance with the License. You can obtain a copy
32 in the file LICENSE in the source distribution or at
33 <https://www.openssl.org/source/license.html>.
34
35
36
371.1.1q 2023-02-06 X509_NAME_GET0_DER(3)