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