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

Class X509CertChain

source code

object --+
         |
        X509CertChain

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
 
parsePemList(self, s)
Parse a string containing a sequence of PEM certs.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

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.
Properties [hide private]

Inherited from object: __class__

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.
Overrides: object.__init__

getFingerprint(self)

source code 

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

Returns: str
A hex-encoded fingerprint.

parsePemList(self, s)

source code 

Parse a string containing a sequence of PEM certs.

Raise a SyntaxError if input is malformed.