Choice type

class pyasn1.type.univ.Choice(componentType=None, tagSet=tagSet(), subtypeSpec=ConstraintsIntersection(), sizeSpec=ConstraintsIntersection())

Note

The Choice type can only hold a single component at a time belonging to the list of allowed types.

clone(componentType=None, tagSet=tagSet(), subtypeSpec=ConstraintsIntersection())
subtype(componentType=None, implicitTag=Tag(), explicitTag=Tag(), subtypeSpec=ConstraintsIntersection())
isSuperTypeOf(other, matchTags=True, matchConstraints=True)

Returns true if argument is a ASN1 subtype of ourselves