X509V3_ADDR_INHERITS(3)
π¦ X509v3_addr_inherits & X509v3_asid_inherits β RFC 3779 inheritance π¦
omg hi bestie π welcome to the X509V3_ADDR_INHERITS(3) page β yes, that's the manual name, and we're about to vibe-check RFC 3779 inheritance together. no cap, it's giving niche crypto lore, but we got this.
πΈ NAME πΈ
X509v3_addr_inherits, X509v3_asid_inherits β RFC 3779 inheritance π
β¨ SYNOPSIS β¨
okay so the synopsis is literally this, bestie β copied exactly:
library βlibcryptoβ #include <openssl/x509v3.h>
int
X509v3_addr_inherits(IPAddrBlocks *addrblocks);
int
X509v3_asid_inherits(ASIdentifiers *asids);
π DESCRIPTION π
X509v3_addr_inherits()β determines if there is at least one address family inaddrblocksthat uses inheritance. πX509v3_asid_inherits()β is intended to determine if at least one of the list of autonomous system numbers or the list of routing domain identifiers uses inheritance. π«Ά
π₯ RETURN VALUES π₯
X509v3_addr_inherits()returns1if and only ifaddrblockscontains at least oneIPAddressFamilyobject that is correctly marked βinheritβ: itsIPAddressChoiceis of typeIPAddressChoice_inheritand itsinheritelement is present. Otherwise it returns0. πX509v3_asid_inherits()returns1if and only if at least one of theasnumor therdilists has typeASIdentifierChoice_inherit. Otherwise it returns0. β¨
π SEE ALSO π
ASIdentifiers_new(3)ASRange_new(3)crypto(3)IPAddressRange_new(3)X509_new(3)X509v3_addr_add_inherit(3)X509v3_asid_add_inherit(3)
π STANDARDS π
RFC 3779: X.509 Extensions for IP Addresses and AS Identifiers: π§
section 2: IP Address delegation extensionsection 2.2.3.5: Element inheritsection 3: AS identifiers delegation extensionsection 3.2.3.3: Element inherit
π HISTORY π
These functions first appeared in OpenSSL 0.9.8e and have been available since OpenBSD 7.1. iconic behavior, honestly π
π BUGS π
β οΈ bestie, listen:X509v3_asid_inherits()ignores whether theinheritelement is present or absent in the list that is considered to use inheritance. π
There is no API that determines whether all lists contained in an ASIdentifiers or an IPAddrBlocks object inherit. See RFC 9287, 5.1.2 for an example where this is relevant. π
mwah π this page came from Debian, dated June 8, 2025, and it's the X509V3_ADDR_INHERITS(3) manual page. byeee π«Ά
π¦ 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) 2023 Theo Buehler <tb@openbsd.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms