rpki.x509.RSA Class Reference

Inheritance diagram for rpki.x509.RSA:

Inheritance graph

List of all members.

Public Member Functions

def generate
def get_DER
def get_POW
def get_public_DER
def get_RSApublic
def get_SKI
def get_tlslite

Public Attributes

 DER
 DER value of this object.
 POW
 tlslite

Static Public Attributes

tuple formats = ("DER", "POW", "tlslite")
 Formats supported in this object.
tuple pem_converter = PEM_converter("RSA PRIVATE KEY")
 PEM converter for this object.


Detailed Description

Class to hold an RSA key pair.

Definition at line 500 of file x509.py.


Member Function Documentation

def rpki.x509.RSA.generate (   cls,
  keylength = 2048 
)

Generate a new keypair.

Definition at line 531 of file x509.py.

def rpki.x509.RSA.get_DER (   self  ) 

Get the DER value of this keypair.

Reimplemented from rpki.x509.DER_object.

Definition at line 506 of file x509.py.

def rpki.x509.RSA.get_POW (   self  ) 

Get the POW value of this keypair.

Definition at line 516 of file x509.py.

def rpki.x509.RSA.get_public_DER (   self  ) 

Get the DER encoding of the public key from this keypair.

Definition at line 535 of file x509.py.

def rpki.x509.RSA.get_RSApublic (   self  ) 

Convert the public key of this keypair into a RSApublic object.

Definition at line 543 of file x509.py.

def rpki.x509.RSA.get_SKI (   self  ) 

Calculate the SKI of this keypair.

Reimplemented from rpki.x509.DER_object.

Definition at line 539 of file x509.py.

def rpki.x509.RSA.get_tlslite (   self  ) 

Get the tlslite value of this keypair.

Definition at line 523 of file x509.py.


Member Data Documentation

DER value of this object.

Reimplemented from rpki.x509.DER_object.

Definition at line 512 of file x509.py.

tuple rpki.x509.RSA.formats = ("DER", "POW", "tlslite") [static]

Formats supported in this object.

Reimplemented from rpki.x509.DER_object.

Definition at line 503 of file x509.py.

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 504 of file x509.py.

Definition at line 520 of file x509.py.

Definition at line 527 of file x509.py.


The documentation for this class was generated from the following file:

Generated on Wed Jul 16 00:59:40 2008 for RPKI Engine by  doxygen 1.5.6