X509_get0_uids3ssl
Get certificate and attribute certificate unique identifiers
Usage
#include <openssl/x509.h>void X509_get0_uids(const X509 *x, const ASN1_BIT_STRING **piuid,const ASN1_BIT_STRING **psuid);#include <openssl/x509_acert.h>ASN1_BIT_STRING *X509_ACERT_get0_issuerUID(X509_ACERT *x);=head1 DESCRIPTION
X509_get0_uids() sets *piuid and *psuid to the issuer and subject unique identifiers of certificate x or NULL if the fields are not present.
X509_ACERT_get0_issuerUID() returns the issuer unique identifier of the attribute certificate x or NULL if the field is not present.
Notes
The issuer and subject unique identifier fields are very rarely encountered in practice outside test cases.
Return values
X509_get0_uids() does not return a value.
X509_ACERT_get0_issuerUID() returns a unique identifier on success or NULL on failure.
Releases
6 releases since Debian 9 (Stretch); the text changed 5 times.