RPKI Engine
1.0
|
Public Member Functions | |
def | build |
def | build |
def | decode |
def | encode |
Public Attributes | |
content | |
Static Public Attributes | |
content_class = rpki.ghostbuster.Ghostbuster | |
tuple | econtent_oid = POWify_OID("id-ct-rpkiGhostbusters") |
tuple | pem_converter = PEM_converter("GHOSTBUSTERS RECORD") |
PEM converter for this object. |
Class to hold a signed Ghostbuster record.
Class to hold Ghostbusters record (CMS-wrapped VCard). This is quite minimal because we treat the VCard as an opaque byte string managed by the back-end.
def rpki::x509::Ghostbuster::build | ( | cls, | |
vcard, | |||
keypair, | |||
certs | |||
) |
Definition at line 1157 of file x509.py.
References content_class, rpki::x509::CMS_object::set_content(), and rpki::x509::CMS_object::sign().
Referenced by build().
def rpki::x509::Ghostbuster::build | ( | cls, | |
vcard, | |||
keypair, | |||
certs | |||
) |
Build a Ghostbuster record.
Definition at line 1291 of file x509.py.
References build(), rpki::x509::CMS_object::set_content(), and rpki::x509::CMS_object::sign().
def rpki::x509::Ghostbuster::decode | ( | self, | |
vcard | |||
) |
Decode XML and set inner content. At the moment we're treating the VCard as an opaque byte string, so no encoding needed here.
Reimplemented from rpki::x509::DER_CMS_object.
Definition at line 1283 of file x509.py.
Referenced by rpki::x509::CMS_object::extract(), and rpki::x509::CMS_object::verify().
def rpki::x509::Ghostbuster::encode | ( | self | ) |
Encode inner content for signing. At the moment we're treating the VCard as an opaque byte string, so no encoding needed here.
Reimplemented from rpki::x509::DER_CMS_object.
Definition at line 1276 of file x509.py.
References rpki::x509::CMS_object::get_content().
Referenced by rpki::x509::CMS_object::sign().
Reimplemented from rpki::x509::CMS_object.
tuple rpki::x509::Ghostbuster::econtent_oid = POWify_OID("id-ct-rpkiGhostbusters") [static] |
Reimplemented from rpki::x509::CMS_object.
tuple rpki::x509::Ghostbuster::pem_converter = PEM_converter("GHOSTBUSTERS RECORD") [static] |
PEM converter for this object.
Reimplemented from rpki::x509::CMS_object.