def isJWE_JSON_multi(x): """ Test whether input is a multi-recipient JWE-JSON object @rtype: boolean """ try: return isJWE_unserialized_multi(deserialize_JSON(x)) except: return False
def isJWS_JSON_multi(x): """ Test whether input is a multi-signature JWS-JSON object @rtype: boolean """ try: return isJWS_unserialized_multi(deserialize_JSON(x)) except: return False
def isJWP_JSON(x): """ Test whether input is a JWP-JSON object @rtype: boolean """ try: return isJWP_unserialized(deserialize_JSON(x)) except: return False