Google

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

Objects of the base.SimpleAsn1Object class

Instances of base.SimpleAsn1Object class implement the following additional methods:

set(value)

Loads the value to ASN.1 object. The type of value is specific to ASN.1 object implementation.

get()

Retruns the payload of ASN.1 object. The type of returned value is specific to ASN.1 object implementation.

__cmp__(other)

Called on comparation of the payload of this ASN.1 object with the other, which can be a value of a compatible type or an instance of SimpleAsn1Object class.

__hash__()

Return a hash value of the object, which is actually taken from the payload of the instance of SimpleAsn1Object class.

__str__()
__repr__()

Return a printable representation of ASN.1 object payload.

Instances of SimpleAsn1Object class make use of the following public instance variable:

initialValue

This instance variable can be initialized to a initial value ot ASN.1 object. The type of initialValue is specific to ASN.1 object implementation.


ilya@glas.net