1X509_NAME_GET0_DER(3ossl) OpenSSL X509_NAME_GET0_DER(3ossl)
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(const 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-2020 The OpenSSL Project Authors. All Rights Reserved.
29
30 Licensed under the Apache License 2.0 (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
373.1.1 2023-08-31 X509_NAME_GET0_DER(3ossl)