1 =pod 2 3 =head1 NAME 4 5 X509_NAME_get0_der - get X509_NAME DER encoding 6 7 =head1 SYNOPSIS 8 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 14 15 =head1 DESCRIPTION 16 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 24 The function X509_NAME_get0_der() returns 1 for success and 0 if an error 25 occurred. 26 27 =head1 SEE ALSO 28 29 L<d2i_X509(3)> 30 31 =head1 COPYRIGHT 32 33 Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved. 34 35 Licensed under the Apache License 2.0 (the "License"). You may not use 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 41