def newDerBitString(binstring):
 if isinstance(binstring, DerObject):
  der = DerBitString(binstring.encode())
 else:
  der = DerBitString(binstring)
 return der

def newDerBitString ( binstring ) : if isinstance ( binstring , DerObject ) : der = DerBitString ( binstring . encode ( ) ) else : der = DerBitString ( binstring ) return der
create a derstringstring object .