BitString type

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

Note

The BitString type models an arbitrary sequence of bits.

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

Returns true if argument is a ASN1 subtype of ourselves