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