rpki.x509.PKCS10 Class Reference

Inherits rpki::x509::DER_object.

Collaboration diagram for rpki.x509.PKCS10:
Collaboration graph

List of all members.

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.

Detailed Description

Class to hold a PKCS #10 request.

Definition at line 534 of file x509.py.


Member Function Documentation

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.

Definition at line 569 of file x509.py.

def rpki.x509.PKCS10.create (   cls,
  keypair,
  exts = None 
)
Create a new request for a given keypair, including given extensions.

Definition at line 629 of file x509.py.

def rpki.x509.PKCS10.create_ca (   cls,
  keypair,
  sia = None 
)
Create a new request for a given keypair, including given SIA value.

Definition at line 616 of file x509.py.

def rpki.x509.PKCS10.get_DER (   self  ) 
Get the DER value of this certification request.

Reimplemented from rpki.x509.DER_object.

Definition at line 542 of file x509.py.

def rpki.x509.PKCS10.get_POWpkix (   self  ) 
Get the POW.pkix value of this certification request.

Definition at line 554 of file x509.py.

def rpki.x509.PKCS10.getPublicKey (   self  ) 
Extract the public key from this certification request.

Definition at line 565 of file x509.py.


Member Data Documentation

DER value of this object.

Reimplemented from rpki.x509.DER_object.

Definition at line 550 of file x509.py.

tuple rpki.x509.PKCS10.formats = ("DER", "POWpkix") [static]

Formats supported in this object.

Reimplemented from rpki.x509.DER_object.

Definition at line 539 of file x509.py.

tuple rpki.x509.PKCS10.pem_converter = PEM_converter("CERTIFICATE REQUEST") [static]

PEM converter for this object.

Reimplemented from rpki.x509.DER_object.

Definition at line 540 of file x509.py.

Definition at line 562 of file x509.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables
Generated on Wed May 12 19:43:52 2010 for RPKI Engine by  doxygen 1.6.3