.. java:import:: java.security GeneralSecurityException ExternalAuthenticateHandler =========================== .. java:package:: com.idopte.scmapi :noindex: .. java:type:: public interface ExternalAuthenticateHandler Methods ------- computeExternalAuthenticate ^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: byte[] computeExternalAuthenticate(byte[] iccSerial, byte[] iccChallenge) throws SCMException, GeneralSecurityException :outertype: ExternalAuthenticateHandler Computes cryptogram for external authenticate. :param iccSerial: the serial number of the card. 10 bytes are given for ``iccSerial`` but only the 8 last bytes should be used. :param iccChallenge: the 8-bytes random word given by the card :throws SCMException: :throws GeneralSecurityException: :return: the cryptogram used for external authenticate