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