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