Extraction and matching for embedded Secure Elements