Package tlslite :: Module x509certchain :: Class X509CertChain
[hide private]
[frames] | no frames]

Class X509CertChain

source code

This class represents a chain of X.509 certificates.

Instance Methods [hide private]
 
__init__(self, x509List=None)
Create a new X509CertChain.
source code
 
checkTack(self, tack) source code
tlslite.utils.rsakey.RSAKey
getEndEntityPublicKey(self)
Get the public key from the end-entity certificate.
source code
str
getFingerprint(self)
Get the hex-encoded fingerprint of the end-entity certificate.
source code
int
getNumCerts(self)
Get the number of certificates in this chain.
source code
 
getTackExt(self)
Get the TACK and/or Break Sigs from a TACK Cert in the chain.
source code
Instance Variables [hide private]
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 [hide private]

__init__(self, x509List=None)
(Constructor)

source code 

Create a new X509CertChain.

Parameters:
  • x509List (list) - A list of tlslite.x509.X509 instances, starting with the end-entity certificate and with every subsequent certificate certifying the previous.

getFingerprint(self)

source code 

Get the hex-encoded fingerprint of the end-entity certificate.

Returns: str
A hex-encoded fingerprint.