Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
X509v3_addr_validate_path, X509v3_addr_validate_resource_set, X509v3_asid_validate_path, X509v3_asid_validate_resource_set — RFC 3779 path validation for IP address and AS number delegationSYNOPSIS
#include <openssl/x509v3.h>X509v3_addr_validate_path(X509_STORE_CTX *ctx);
X509v3_addr_validate_resource_set(STACK_OF(X509) *chain, IPAddrBlocks *addrblocks, int allow_inherit);
X509v3_asid_validate_path(X509_STORE_CTX *ctx);
X509v3_asid_validate_resource_set(STACK_OF(X509) *chain, ASIdentifiers *asid, int allow_inherit);
DESCRIPTION
Both RFC 3779 extensions require additional checking in the certification path validation.- The initial set of allowed IP address and AS number resources is defined in the trust anchor, where inheritance is not allowed.
- An issuer may only delegate subsets of resources present in its RFC 3779 extensions or subsets of resources inherited from its issuer.
- If an RFC 3779 extension is present in a certificate, the same type of extension must also be present in its issuer.
- All RFC 3779 extensions appearing in the validation path must be in canonical form according to X509v3_addr_is_canonical(3) and X509v3_asid_is_canonical(3).
RETURN VALUES
All these functions return 1 on successful validation and 0 otherwise.SEE ALSO
ASIdentifiers_new(3), crypto(3), IPAddressRange_new(3), X509_new(3), X509_STORE_CTX_get_error(3), X509_verify_cert(3), X509v3_addr_add_inherit(3), X509v3_addr_inherits(3), X509v3_asid_add_id_or_range(3)STANDARDS
RFC 3779: X.509 Extensions for IP Addresses and AS Identifiers:- section 2.3: IP Address Delegation Extension Certification Path Validation
- section 3.3: Autonomous System Identifier Delegation Extension Certification Path Validation
- section 6: Certification Path Validation