libressl-X509v3_addr_inherits3
Rfc 3779 inheritance
Usage
Crypto Library (libcrypto, -lcrypto)
#include <openssl/x509v3.h>
int
X509v3_addr_inherits(IPAddrBlocks *addrblocks);
int
X509v3_asid_inherits(ASIdentifiers *asids);
Overview
X509v3_addr_inherits() determines if there is at least one address family in addrblocks that 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() returns 1 if and only if addrblocks contains at least one IPAddressFamily object that is correctly marked “inherit”: its IPAddressChoice is of type IPAddressChoice_inherit and its inherit element is present. Otherwise it returns 0.
X509v3_asid_inherits() returns 1 if and only if at least one of the asnum or the rdi lists has type ASIdentifierChoice_inherit. Otherwise it returns 0.