X509_CHECK_ISSUED(3ossl)
π NAME π
okay so this is the 3ossl manual page for X509_check_issued π
β it checks if a certificate is apparently issued by another certificate. Thatβs the whole vibe check, bestie.
β¨ SYNOPSIS β¨
#include <openssl/x509v3.h>
int X509_check_issued(X509 *issuer, X509 *subject);
π¦ DESCRIPTION π¦
X509_check_issued() checks if certificate subject was apparently issued using (CA) certificate issuer π«Ά. Itβs not just a surface-level βdo these names match?β thing β no cap. Hereβs the actual checklist:
- It takes into account not only matching of the issuer field of
subjectwith the subject field ofissuer, - but also compares all sub-fields of the
authorityKeyIdentifierextension ofsubject, as far as present, with the respectivesubjectKeyIdentifier, serial number, and issuer fields ofissuer, as far as present. - It also checks if the
keyUsagefield (if present) ofissuerallows certificate signing. - It does not actually check the certificate signature π.
- An error is returned if
issuerorsubjectare incomplete certificates.
π¨ Important caveat: this function does not actually check the certificate signature. That part is literally not its job, bestie.
πΈ RETURN VALUES πΈ
X509_check_issued() returns X509_V_OK if all checks are successful or some X509_V_ERR* constant to indicate an error β¨.
π SEE ALSO π
π COPYRIGHT π
Copyright 2015-2021 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
later bestie π β this oneβs from OpenSSL 3.5.6, dated 2026-04-07 π
π¦ where this page comes from
- freebsd 15.1: base 15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms