Enumerated type

class pyasn1.type.univ.Enumerated(value=NoValue(), tagSet=TagSet(), subtypeSpec=ConstraintsIntersection(), namedValues=NamedValues())

Note

The Enumerated type models bounded set of named integer values. Other than that, it is identical to the Integer class.

clone(value=NoValue(), tagSet=TagSet(), subtypeSpec=ConstraintsIntersection(), namedValues=NamedValues())
subtype(value=NoValue(), implicitTag=Tag(), explicitTag=Tag(), subtypeSpec=ConstraintsIntersection(), namedValues=NamedValues())
isSuperTypeOf(other, matchTags=True, matchConstraints=True)

Returns true if argument is a ASN1 subtype of ourselves