Inherits rpki::x509::DER_object.
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. |
Class to hold an RSA key pair.
Definition at line 610 of file x509.py.
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.
def rpki.x509.RSA.get_POW | ( | self | ) |
def rpki.x509.RSA.get_public_DER | ( | self | ) |
def rpki.x509.RSA.get_RSApublic | ( | self | ) |
def rpki.x509.RSA.get_SKI | ( | self | ) |
Calculate the SKI of this keypair.
Reimplemented from rpki.x509.DER_object.
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.