Trees | Indices | Help |
|
---|
|
Utility functions for X509.
|
|||
|
|||
|
|||
|
|||
|
|||
string |
|
||
|
|||
tuple; (OpenSSL.crypto.X509, string) |
|
||
|
|||
|
|
|||
HEX_CHAR_RE = r"[a-zA-Z0-9]"
|
|||
VALID_X509_SIGNATURE_SALT = re.compile("^%s+$" % HEX_CHAR_RE,
|
|||
X509_SIGNATURE = re.compile(r"^%s:\s*(?P<salt>%s+)/(?P<sign>%s
|
|||
_ASN1_TIME_REGEX = re.compile(r"^(\d+)([-+]\d\d)(\d\d)$") ASN1 time regexp |
Imports: time, OpenSSL, re, datetime, calendar, errors, constants, utils_text, utils_io, utils_hash
|
Parses an ASN1 GENERALIZEDTIME timestamp as used by pyOpenSSL.
|
Returns the validity period of the certificate.
|
Verifies certificate validity.
|
Verifies a certificate for LUClusterVerify.
|
Sign a X509 certificate. An RFC822-like signature header is added in front of the certificate.
|
Verifies a signed X509 certificate.
|
Generates a self-signed X509 certificate.
|
Legacy function to generate self-signed X509 certificate.
|
|
VALID_X509_SIGNATURE_SALT
|
X509_SIGNATURE
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Jul 24 16:51:20 2012 | http://epydoc.sourceforge.net |