RPKI Engine
1.0
|
Public Member Functions | |
def | generate |
def | get_DER |
def | get_POW |
def | get_public_DER |
def | get_RSApublic |
def | get_SKI |
Public Attributes | |
DER | |
DER value of this object. | |
POW | |
Static Public Attributes | |
tuple | formats = ("DER", "POW") |
Formats supported in this object. | |
tuple | pem_converter = PEM_converter("RSA PRIVATE KEY") |
PEM converter for this object. |
def rpki::x509::RSA::generate | ( | cls, | |
keylength = 2048 |
|||
) |
def rpki::x509::RSA::get_DER | ( | self | ) |
Get the DER value of this keypair.
Reimplemented from rpki::x509::DER_object.
Definition at line 727 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::RSA::get_POW | ( | self | ) |
Get the rpki.POW value of this keypair.
Definition at line 739 of file x509.py.
Referenced by rpki::x509::CMS_object::extract(), get_public_DER(), rpki::x509::CMS_object::get_signingTime(), rpki::x509::CRL::getIssuer(), and rpki::x509::CMS_object::verify().
def rpki::x509::RSA::get_public_DER | ( | self | ) |
Get the DER encoding of the public key from this keypair.
Definition at line 756 of file x509.py.
References rpki::x509::X509::get_POW(), and get_POW().
Referenced by get_RSApublic(), and get_SKI().
def rpki::x509::RSA::get_RSApublic | ( | self | ) |
Convert the public key of this keypair into a RSApublic object.
Definition at line 768 of file x509.py.
References get_public_DER().
def rpki::x509::RSA::get_SKI | ( | self | ) |
Calculate the SKI of this keypair.
Reimplemented from rpki::x509::DER_object.
Definition at line 762 of file x509.py.
References rpki::x509::calculate_SKI(), and get_public_DER().
Referenced by rpki::x509::X509::cross_certify(), and rpki::x509::X509::issue().
DER value of this object.
Reimplemented from rpki::x509::DER_object.
tuple rpki::x509::RSA::formats = ("DER", "POW") [static] |
Formats supported in this object.
Reimplemented from rpki::x509::DER_object.
tuple rpki::x509::RSA::pem_converter = PEM_converter("RSA PRIVATE KEY") [static] |
PEM converter for this object.
Reimplemented from rpki::x509::DER_object.
Definition at line 741 of file x509.py.
Referenced by rpki::x509::CMS_object::sign().