X509_CHECK_ISSUED(3)
πΈ NAME πΈ
okay so welcome to the X509_CHECK_ISSUED(3) page from the Library Functions Manual, bestie π weβre talking about X509_check_issued β check whether a certificate was issued using a given CA certificate. periodt.
β¨ SYNOPSIS β¨
hereβs the exact synopsis, no cap:
library βlibcryptoβ #include <openssl/x509v3.h>
int
X509_check_issued(X509 *issuer, X509 *subject);
π¦ DESCRIPTION π¦
so X509_check_issued checks whether the certificate subject was issued using the CA certificate issuer. it does these checks, bestie:
- match the
issuerfield ofsubjectagainst thesubjectfield ofissuerβ itβs giving βdo these match?β energy π - if
authorityKeyIdentifieris present in thesubjectcertificate, compare it to thesubjectKeyIdentifierofissuer - check the
keyUsagefield ofissuer
thatβs the whole vibe check π₯.
π RETURN VALUES π
this function returns X509_V_OK if the certificate subject is issued by issuer β slay β or some X509_V_ERR* constant to indicate an error. so yeah, X509_V_OK is the good ending, and the X509_V_ERR* constants are the βsomething went sidewaysβ endings π.
π SEE ALSO π
go read these too, iykyk π«Ά.
π HISTORY π
X509_check_issued() first appeared in OpenSSL 0.9.6 and has been available since OpenBSD 2.9. iconic history fr fr π.
okay thatβs the whole page, bestie β this one comes from Debian and is dated June 8, 2025. mwah πβ¨
π¦ where this page comes from
- alpine 3.24: libressl-doc 4.3.1-r0 Β· custom
- arch rolling: libressl 4.4.0-1 Β· ISC AND custom:OpenSSL
- Copyright (c) 2015 The OpenSSL Project. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms