rpkimancer.sigobj.gbr module¶
RPKI Ghostbusters Record implementation - RFC6493.
- class rpkimancer.sigobj.gbr.RpkiGhostbustersContentType(full_name, org=None, address=None, tel=None, email=None)¶
Bases:
EncapsulatedContentType
encapContentInfo for RPKI Ghostbusters Record - RFC6493.
- Parameters:
full_name (str) –
org (Optional[str]) –
address (Optional[str]) –
tel (Optional[str]) –
email (Optional[str]) –
- asn1_definition: ASN1Class = <ct-rpkiGhostbusters ([CONTENT-TYPE] CLASS): {'Type': <Type ([GhostbustersRecord] OCTET STRING)>, 'id': (1, 2, 840, 113549, 1, 9, 16, 1, 35)}>¶
- file_ext: str = 'gbr'¶
- as_resources = 'INHERIT'¶
- ip_resources = [(4, 'INHERIT'), (6, 'INHERIT')]¶
- to_txt()¶
Get default text serialization.
- Return type:
str
- to_json()¶
Serialize as JSON.
- Return type:
str
- class rpkimancer.sigobj.gbr.RpkiGhostbusters(issuer, file_name=None, *args, **kwargs)¶
Bases:
SignedObject
[RpkiGhostbustersContentType
]CMS ASN.1 ContentInfo for RPKI Ghostbusters Records.
- Parameters:
issuer (CertificateAuthority) –
file_name (Optional[str]) –
args (Any) –
kwargs (Any) –
- econtent_type¶
alias of
RpkiGhostbustersContentType