RPKI Engine  1.0
Public Member Functions | Public Attributes | Static Public Attributes
rpki::x509::PKCS10 Class Reference
Inheritance diagram for rpki::x509::PKCS10:
Inheritance graph
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 600 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.

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().

Here is the call graph for this function:

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

Definition at line 705 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 692 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 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().

Here is the caller graph for this function:

def rpki::x509::PKCS10::get_POWpkix (   self)
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().

Here is the call graph for this function:


Member Data Documentation

DER value of this object.

Reimplemented from rpki::x509::DER_object.

Definition at line 610 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 605 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 606 of file x509.py.

Definition at line 622 of file x509.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties