|
__init__(self,
filePath=None,
m2CryptoX509=None)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
read(self,
filePath=None,
format=None,
warningStackLevel=3,
**isValidTimeKw)
Read a certificate from PEM encoded DER format file |
source code
|
|
|
parse(self,
certTxt,
format=None,
warningStackLevel=3,
**isValidTimeKw)
Read a certificate input as a string |
source code
|
|
|
|
|
__getM2CryptoX509(self,
m2CryptoX509=None)
Return M2Crypto X.509 cert object |
source code
|
|
|
toString(self,
**kw)
Return certificate file content as a PEM format string |
source code
|
|
|
asPEM(self,
filePath=None)
Return certificate file content as a PEM format string |
source code
|
|
|
asDER(self)
Return certificate file content in DER format |
source code
|
|
|
|
|
__getVersion(self)
Get X.509 Certificate version |
source code
|
|
|
|
|
__getNotBefore(self)
Get not before validity time as datetime type |
source code
|
|
|
__getNotAfter(self)
Get not after validity time as datetime type |
source code
|
|
M2Crypto.RSA.RSA_pub
|
|
|
|
|
|
|
isValidTime(self,
raiseExcep=False,
expiryWarning=True,
nDaysBeforeExpiryLimit=30,
warningStackLevel=2)
Check Certificate for expiry |
source code
|
|
|
__m2CryptoUTC2datetime(self,
m2CryptoUTC)
Convert M2Crypto UTC time string as returned by get_not_before/
get_not_after methods into datetime type |
source code
|
|
bool
|
verify(self,
pubKey,
**kw)
Verify a certificate against the public key of the issuer |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|