RPKI Engine
1.0
|
Public Member Functions | |
def | check_valid_rpki |
def | create |
def | create_ca |
def | get_DER |
def | get_POWpkix |
def | getPublicKey |
Public Attributes | |
DER | |
DER value of this object. | |
POWpkix | |
Static Public Attributes | |
tuple | formats = ("DER", "POWpkix") |
Formats supported in this object. | |
tuple | pem_converter = PEM_converter("CERTIFICATE REQUEST") |
PEM converter for this object. |
def rpki::x509::PKCS10::check_valid_rpki | ( | self | ) |
Check this certification request to see whether it's a valid request for an RPKI certificate. This is broken out of the up-down protocol code because it's somewhat involved and the up-down code doesn't need to know the details. Throws an exception if the request isn't valid, so if this method returns at all, the request is ok. At the moment, this only allows requests for CA certificates; as a direct consequence, it also rejects ExtendedKeyUsage, because the RPKI profile only allows EKU for EE certificates.
Definition at line 637 of file x509.py.
References rpki::x509::X509::get_POWpkix(), and get_POWpkix().
def rpki::x509::PKCS10::create | ( | cls, | |
keypair, | |||
exts = None |
|||
) |
def rpki::x509::PKCS10::create_ca | ( | cls, | |
keypair, | |||
sia = None |
|||
) |
def rpki::x509::PKCS10::get_DER | ( | self | ) |
Get the DER value of this certification request.
Reimplemented from rpki::x509::DER_object.
Definition at line 608 of file x509.py.
Referenced by rpki::x509::XML_CMS_object::dump_to_disk(), rpki::x509::RSApublic::get_SKI(), rpki::x509::CMS_object::verify(), and rpki::x509::XML_CMS_object::wrap().
def rpki::x509::PKCS10::get_POWpkix | ( | self | ) |
Get the rpki.POW.pkix value of this certification request.
Definition at line 620 of file x509.py.
Referenced by check_valid_rpki(), rpki::x509::DER_object::get_3779resources(), rpki::x509::DER_object::get_AIA(), rpki::x509::DER_object::get_AKI(), rpki::x509::DER_object::get_basicConstraints(), rpki::x509::DER_object::get_SIA(), rpki::x509::DER_object::get_SKI(), rpki::x509::CRL::getNextUpdate(), getPublicKey(), and rpki::x509::CRL::getThisUpdate().
def rpki::x509::PKCS10::getPublicKey | ( | self | ) |
Extract the public key from this certification request.
Definition at line 631 of file x509.py.
References rpki::x509::X509::get_POWpkix(), and get_POWpkix().
DER value of this object.
Reimplemented from rpki::x509::DER_object.
tuple rpki::x509::PKCS10::formats = ("DER", "POWpkix") [static] |
Formats supported in this object.
Reimplemented from rpki::x509::DER_object.
tuple rpki::x509::PKCS10::pem_converter = PEM_converter("CERTIFICATE REQUEST") [static] |
PEM converter for this object.
Reimplemented from rpki::x509::DER_object.