Sortix cross-nightly manual
This manual documents Sortix cross-nightly. You can instead view this document in the latest official manual.
NAME
X509v3_asid_add_id_or_range, X509v3_asid_add_inherit, X509v3_asid_canonize, X509v3_asid_is_canonical — RFC 3779 autonomous system identifier delegation extensionSYNOPSIS
#include <openssl/x509v3.h>X509v3_asid_add_id_or_range(ASIdentifiers *asid, int type, ASN1_INTEGER *min, ASN1_INTEGER *max);
X509v3_asid_add_inherit(ASIdentifiers *asid, int type);
X509v3_asid_canonize(ASIdentifiers *asid);
X509v3_asid_is_canonical(ASIdentifiers *asid);
DESCRIPTION
An ASIdentifiers object represents the content of the certificate extension defined in RFC 3779, section 3.2.3.1. It can be instantiated with ASIdentifiers_new(3) and its internals are documented in ASRange_new(3).- absent,
- marked “inherit”,
- non-empty and all identifiers and ranges are listed in increasing order. Ranges must not overlap, and adjacent ranges must be fully merged.
RETURN VALUES
All these functions return 1 on success and 0 on failure.SEE ALSO
ASIdentifiers_new(3), crypto(3), s2i_ASN1_INTEGER(3), X509_new(3), X509v3_addr_add_inherit(3), X509v3_addr_validate_path(3)STANDARDS
RFC 3779: X.509 Extensions for IP Addresses and AS Identifiers,- section 3: Autonomous System Delegation Extension