Object Prototyping API Reference¶
RPKI ASPA implementation - draft-ietf-sidrops-rpki-aspa.
- class rpkimancer_aspa.sigobj.Aspa(issuer, file_name=None, *args, **kwargs)¶
Bases:
SignedObject
[AspaContentType
]CMS ASN.1 ContentInfo for RPKI ASPA Objects.
- constructed(data=None)¶
Provide a context manager to mediate the global pycrates object.
- property econtent: ECT¶
Get the Signed Object’s eContent.
- property econtent_info: EncapsulatedContentInfo[ECT]¶
Get the Signed Object’s encapContentInfo.
- econtent_type¶
alias of
AspaContentType
- classmethod from_data(data)¶
Construct an instance from python data.
- Parameters:
data (Any) –
- Return type:
InterfaceSubclass
- classmethod from_der(der_data)¶
Construct an instance from DER encoded data.
- Parameters:
der_data (bytes) –
- Return type:
InterfaceSubclass
- publish(*, pub_path, uri_path, repo_path, **kwargs)¶
Publish the SignedObject artifact as a DER file in the PP.
- classmethod register_econtent_type(content_type, econtent_type)¶
Add CONTENT-TYPE instance to eContentType constraint set.