def input_validate_yubikey_secret(data, name='<STR_LIT:data>'):
if isinstance(data, pyhsm.aead_cmd.YHSM_YubiKeySecret):<EOL><INDENT>data = data.pack()<EOL><DEDENT>return input_validate_str(data, name)<EOL>
Input validation for YHSM_YubiKeySecret or string.