|
LINK="#0000bb" VLINK="#551a8b" ALINK="#ff0000">
Objects of various fixed-structure BER facility classes
Instances of
OrderedFixedTypeAsn1Object,
UnorderedFixedTypeAsn1Object and
SingleFixedTypeAsn1Object classes implement the following
public methods:
- encode([**kwargs])
-
Returns BER-encoded contents of the structured ASN.1 object (as string).
The optional kwargs argument may be used to assign a new
value to ASN.1 object prior to running BER encoding method against this
ASN.1 object. The value of kwargs should be acceptable by the
ASN.1 object class this BER facility is mixed with.
- decode(octetStream)
-
Decodes octetStream (string) into the payload of the
ASN.1 object and returns the unprocessed part of the
octetStream (as string).
ilya@glas.net
|