3. ASPA eContent
The content of an ASPA identifies the Customer AS (CAS) as well as the Set of Provider ASes (SPAS) that are authorized by the CAS to be its Providers.¶
The eContent of an ASPA is an instance of ASProviderAttestation, formally defined by the following ASN.1 [X.680] module:¶
RPKI-ASPA-2023
{ iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1)
pkcs-9(9) smime(16) modules(0) id-mod-rpki-aspa-2023(TBD) }
DEFINITIONS EXPLICIT TAGS ::=
BEGIN
IMPORTS
CONTENT-TYPE
FROM CryptographicMessageSyntax-2010 -- From RFC 6268
{ iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1)
pkcs-9(9) smime(16) modules(0) id-mod-cms-2009(58) } ;
id-ct-ASPA OBJECT IDENTIFIER ::=
{ iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1)
pkcs-9(9) id-smime(16) id-ct(1) aspa(49) }
ct-ASPA CONTENT-TYPE ::=
{ TYPE ASProviderAttestation IDENTIFIED BY id-ct-ASPA }
ASProviderAttestation ::= SEQUENCE {
version [0] INTEGER DEFAULT 0,
customerASID CAS,
providers ProviderASSet }
CAS ::= INTEGER (1..4294967295)
ProviderASSet ::= SEQUENCE (SIZE(1..MAX)) OF PAS
PAS ::= INTEGER (0..4294967295)
END
¶
This content appears as the eContent within the encapContentInfo as specified in [RFC6488].¶
3.1. version
The version number of the ASProviderAttestation that complies with this specification MUST be 1 and MUST be explicitly encoded.¶
3.2. customerASID
The customerASID field contains a positive integer that represents the AS number of the Customer Autonomous System that is the authorizing entity.¶
3.3. providers
The providers field contains the listing of ASes that are authorized as providers.¶
Each element contained in the providers field is an instance of PAS.
Each PAS element contains the AS number of an AS that has been authorized by the customer AS as its provider or non-transparent RS.¶
In addition to the constraints described by the formal ASN.1 definition, the contents of the providers field MUST satisfy the following constraints:¶
-
The CustomerASID value MUST NOT appear in any
PASin theprovidersfield.¶ -
The elements of
providersMUST be ordered in ascending numerical order.¶ -
Each value of
PASMUST be unique (with respect to the other elements of providers).¶ -
An
PASvalue of 0 can only be encoded in theprovidersfield as a single item list, i.e., an element for AS 0 MUST NOT appear alongside any other elements.¶