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