Home | Trees | Index | Help |
---|
Package tlslite :: Module X509CertChain :: Class X509CertChain |
|
Method Summary | |
---|---|
Create a new X509CertChain. | |
str or None |
Get the Subject's Common Name from the end-entity certificate. |
tlslite.utils.RSAKey.RSAKey
|
Get the public key from the end-entity certificate. |
str |
Get the hex-encoded fingerprint of the end-entity certificate. |
int |
Get the number of certificates in this chain. |
Check the validity of the certificate chain. | |
_checkChaining(self,
lastC,
rootC)
|
Instance Variable Summary | |
---|---|
list | x509List : A list of tlslite.X509.X509 instances, starting with
the end-entity certificate and with every subsequent certificate
certifying the previous. |
Method Details |
---|
__init__(self,
x509List=None)
Create a new X509CertChain.
|
getCommonName(self)Get the Subject's Common Name from the end-entity certificate. The cryptlib_py module must be installed in order to use this function.
|
getEndEntityPublicKey(self)Get the public key from the end-entity certificate.
|
getFingerprint(self)Get the hex-encoded fingerprint of the end-entity certificate.
|
getNumCerts(self)Get the number of certificates in this chain.
|
validate(self, x509TrustList)Check the validity of the certificate chain. This checks that every certificate in the chain validates with the subsequent one, until some certificate validates with (or is identical to) one of the passed-in root certificates. The cryptlib_py module must be installed in order to use this function.
|
Instance Variable Details |
---|
x509ListA list oftlslite.X509.X509 instances, starting with
the end-entity certificate and with every subsequent certificate
certifying the previous.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Mon Feb 21 21:56:54 2005 | http://epydoc.sf.net |