LINK="#0000bb" VLINK="#551a8b" ALINK="#ff0000">

Objects of the base.SimpleAsn1Object class

Instances of base.SimpleAsn1Object implement the following public methods:

encode([value])

Returns BER-encoded contents of the ASN.1 object (as string).

The optional value 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 type of value 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