Home | Trees | Indices | Help |
|
---|
|
DerObject --+ | DerSequence
Class to model a SEQUENCE DER element.
This object behave like a dynamic Python sequence. Sub-elements that are INTEGERs, look like Python integers. Any other sub-element is a binary string encoded as the complete DER sub-element (TLV).
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from DerObject | |||
---|---|---|---|
|
Class Variables | |
Inherited from DerObject | |
---|---|
typeTags =
|
Method Details |
|
Return the DER encoding for the ASN.1 SEQUENCE, containing the non-negative integers and longs added to this object. Limitation: Raises a ValueError exception if it some elements in the sequence are neither Python integers nor complete DER INTEGERs.
|
Decode a complete SEQUENCE DER element, and re-initializes this object with it.
@return Index of the first unused byte in the given DER element. DER INTEGERs are decoded into Python integers. Any other DER element is not decoded. Its validity is not checked. Raises a ValueError exception if the DER element is not a valid DER SEQUENCE. Raises an IndexError exception if the DER element is too short.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 24 09:02:37 2012 | http://epydoc.sourceforge.net |