Package tlslite :: Module extensions :: Class TACKExtension :: Class TACK
[hide private]
[frames] | no frames]

type TACK

source code


Implementation of the single TACK

Instance Methods [hide private]
 
__eq__(self, other)
Tests if the other object is equivalent to this TACK
source code
 
__init__(self)
Create a single TACK object
source code
str
__repr__(self)
Return programmmer readable representation of TACK object
source code
 
create(self, public_key, min_generation, generation, expiration, target_hash, signature)
Initialise the TACK with data
source code
TACK
parse(self, p)
Parse the TACK from on the wire format
source code
bytearray
write(self)
Convert the TACK into on the wire format
source code
Method Details [hide private]

__eq__(self, other)
(Equality operator)

source code 

Tests if the other object is equivalent to this TACK

Returns False for every object that's not a TACK

__init__(self)
(Constructor)

source code 

Create a single TACK object

Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 

Return programmmer readable representation of TACK object

Returns: str
Overrides: object.__repr__

parse(self, p)

source code 

Parse the TACK from on the wire format

Parameters:
Returns: TACK
Raises:
  • SyntaxError - when the internal sizes don't match the provided data