보안폴더(secure folder)에서 바이오 인증 관련 문의

  1. 보안폴더 내에서 앱을 실행시켜 바이오인증을 사용할 경우
    StoreKey 생성시에 .setInvalidatedByBiometricEnrollment(true) 옵션을 true로 하지 않고 false로 하면 앱 내에서 override onAuthenticationSucceeded() 에서 result의 cipher를 이용하여 encrypt 처리를 할 경우 IllegalBlockSizeException이 발생되는데 왜 이러는걸까요?
    true로 설정해놓으면 exception이 발생하지 않습니다. 보안폴더 내부적으로 해당 옵션을 false로 했을 경우 보안상의 이유로 exception을 return하는 건가요?

  2. 앱을 보안폴더내에 설치했을 때 설치된 앱에서 자기가 보안폴더 내에 설치되었는지 확인할 수 있는 방법이 있나요?

답변 부탁드립니다.

Hello,
Welcome to this forum.

As far as I know there is no public API to know whether an app is installed in the security folder or not.