X509_NAME_get0_der.pod 990 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. =pod
  2. =head1 NAME
  3. X509_NAME_get0_der - get X509_NAME DER encoding
  4. =head1 SYNOPSIS
  5. #include <openssl/x509.h>
  6. int X509_NAME_get0_der(X509_NAME *nm, const unsigned char **pder,
  7. size_t *pderlen)
  8. =head1 DESCRIPTION
  9. The function X509_NAME_get0_der() returns an internal pointer to the
  10. encoding of an B<X509_NAME> structure in B<*pder> and consisting of
  11. B<*pderlen> bytes. It is useful for applications that wish to examine
  12. the encoding of an B<X509_NAME> structure without copying it.
  13. =head1 RETURN VALUES
  14. The function X509_NAME_get0_der() returns 1 for success and 0 if an error
  15. occurred.
  16. =head1 SEE ALSO
  17. L<d2i_X509(3)>
  18. =head1 COPYRIGHT
  19. Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved.
  20. Licensed under the OpenSSL license (the "License"). You may not use
  21. this file except in compliance with the License. You can obtain a copy
  22. in the file LICENSE in the source distribution or at
  23. L<https://www.openssl.org/source/license.html>.
  24. =cut