X509_get0_uids.pod 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. =pod
  2. =head1 NAME
  3. X509_get0_uids - get certificate unique identifiers
  4. =head1 SYNOPSIS
  5. #include <openssl/x509.h>
  6. void X509_get0_uids(const X509 *x, const ASN1_BIT_STRING **piuid,
  7. const ASN1_BIT_STRING **psuid);
  8. =head1 DESCRIPTION
  9. X509_get0_uids() sets B<*piuid> and B<*psuid> to the issuer and subject unique
  10. identifiers of certificate B<x> or NULL if the fields are not present.
  11. =head1 NOTES
  12. The issuer and subject unique identifier fields are very rarely encountered in
  13. practice outside test cases.
  14. =head1 RETURN VALUES
  15. X509_get0_uids() does not return a value.
  16. =head1 SEE ALSO
  17. L<d2i_X509(3)>,
  18. L<ERR_get_error(3)>,
  19. L<X509_CRL_get0_by_serial(3)>,
  20. L<X509_get0_signature(3)>,
  21. L<X509_get_ext_d2i(3)>,
  22. L<X509_get_extension_flags(3)>,
  23. L<X509_get_pubkey(3)>,
  24. L<X509_get_subject_name(3)>,
  25. L<X509_get_version(3)>,
  26. L<X509_NAME_add_entry_by_txt(3)>,
  27. L<X509_NAME_ENTRY_get_object(3)>,
  28. L<X509_NAME_get_index_by_NID(3)>,
  29. L<X509_NAME_print_ex(3)>,
  30. L<X509_new(3)>,
  31. L<X509_sign(3)>,
  32. L<X509V3_get_d2i(3)>,
  33. L<X509_verify_cert(3)>
  34. =head1 COPYRIGHT
  35. Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
  36. Licensed under the Apache License 2.0 (the "License"). You may not use
  37. this file except in compliance with the License. You can obtain a copy
  38. in the file LICENSE in the source distribution or at
  39. L<https://www.openssl.org/source/license.html>.
  40. =cut