Provided for protocol state management on the smartcard