Inherits object.
Inherited by rpki.x509.CMS_object, rpki.x509.CRL, rpki.x509.PKCS10, rpki.x509.RSA, rpki.x509.RSApublic, and rpki.x509.X509.
List of all members.
Detailed Description
Virtual class to hold a generic DER object.
Definition at line 121 of file x509.py.
Member Function Documentation
def rpki.x509.DER_object.__cmp__ |
( |
|
self, |
|
|
|
other | |
|
) |
| | |
Compare two DER-encoded objects.
Definition at line 246 of file x509.py.
def rpki.x509.DER_object.__init__ |
( |
|
self, |
|
|
|
kw | |
|
) |
| | |
def rpki.x509.DER_object.check |
( |
|
self |
) |
|
Perform basic checks on a DER object.
Definition at line 220 of file x509.py.
def rpki.x509.DER_object.check_auto_update |
( |
|
self |
) |
|
Check for updates to a DER object that auto-updates from a file.
Definition at line 200 of file x509.py.
def rpki.x509.DER_object.clear |
( |
|
self |
) |
|
def rpki.x509.DER_object.dumpasn1 |
( |
|
self |
) |
|
Pretty print an ASN.1 DER object using cryptlib dumpasn1 tool.
Use a temporary file rather than popen4() because dumpasn1 uses
seek() when decoding ASN.1 content nested in OCTET STRING values.
Definition at line 375 of file x509.py.
def rpki.x509.DER_object.empty |
( |
|
self |
) |
|
Test whether this object is empty.
Definition at line 138 of file x509.py.
def rpki.x509.DER_object.from_sql |
( |
|
cls, |
|
|
|
x | |
|
) |
| | |
Convert from SQL storage format.
Definition at line 367 of file x509.py.
def rpki.x509.DER_object.gAKI |
( |
|
self |
) |
|
Calculate g(AKI) for this object. Only work for subclasses
that implement get_AKI().
Definition at line 282 of file x509.py.
def rpki.x509.DER_object.get_3779resources |
( |
|
self |
) |
|
Get RFC 3779 resources as rpki.resource_set objects. Only works
for subclasses that support getExtensions().
Definition at line 354 of file x509.py.
def rpki.x509.DER_object.get_AIA |
( |
|
self |
) |
|
Get the SIA extension from this object. Only works for subclasses
that support getExtension().
Definition at line 325 of file x509.py.
def rpki.x509.DER_object.get_aia_uri |
( |
|
self |
) |
|
Get AIA (id-ad-caIssuers) URI from this object.
Only works for subclasses that support getExtension().
Definition at line 332 of file x509.py.
def rpki.x509.DER_object.get_AKI |
( |
|
self |
) |
|
Get the AKI extension from this object. Only works for subclasses
that support getExtension().
Definition at line 289 of file x509.py.
def rpki.x509.DER_object.get_Base64 |
( |
|
self |
) |
|
Get the Base64 encoding of the DER value of this object.
Definition at line 238 of file x509.py.
def rpki.x509.DER_object.get_basicConstraints |
( |
|
self |
) |
|
Get the basicConstraints extension from this object. Only works
for subclasses that support getExtension().
Definition at line 339 of file x509.py.
def rpki.x509.DER_object.get_DER |
( |
|
self |
) |
|
def rpki.x509.DER_object.get_PEM |
( |
|
self |
) |
|
Get the PEM representation of this object.
Definition at line 242 of file x509.py.
def rpki.x509.DER_object.get_SIA |
( |
|
self |
) |
|
Get the SIA extension from this object. Only works for subclasses
that support getExtension().
Definition at line 304 of file x509.py.
def rpki.x509.DER_object.get_sia_directory_uri |
( |
|
self |
) |
|
Get SIA directory (id-ad-caRepository) URI from this object.
Only works for subclasses that support getExtension().
Definition at line 311 of file x509.py.
def rpki.x509.DER_object.get_sia_manifest_uri |
( |
|
self |
) |
|
Get SIA manifest (id-ad-rpkiManifest) URI from this object.
Only works for subclasses that support getExtension().
Definition at line 318 of file x509.py.
def rpki.x509.DER_object.get_SKI |
( |
|
self |
) |
|
def rpki.x509.DER_object.gSKI |
( |
|
self |
) |
|
Calculate g(SKI) for this object. Only work for subclasses
that implement get_SKI().
Definition at line 267 of file x509.py.
def rpki.x509.DER_object.hAKI |
( |
|
self |
) |
|
Return hexadecimal string representation of AKI for this
object. Only work for subclasses that implement get_AKI().
Definition at line 274 of file x509.py.
def rpki.x509.DER_object.hSKI |
( |
|
self |
) |
|
Return hexadecimal string representation of SKI for this object.
Only work for subclasses that implement get_SKI().
Definition at line 259 of file x509.py.
def rpki.x509.DER_object.is_CA |
( |
|
self |
) |
|
Return True if and only if object has the basicConstraints
extension and its cA value is true.
Definition at line 346 of file x509.py.
def rpki.x509.DER_object.set |
( |
|
self, |
|
|
|
kw | |
|
) |
| | |
Set this object by setting one of its known formats.
This method only allows one to set one format at a time.
Subsequent calls will clear the object first. The point of all
this is to let the object's internal converters handle mustering
the object into whatever format you need at the moment.
Definition at line 161 of file x509.py.
def rpki.x509.DER_object.to_sql |
( |
|
self |
) |
|
Convert to SQL storage format.
Definition at line 371 of file x509.py.
Member Data Documentation
The documentation for this class was generated from the following file: