パッケージ jp.co.osstech.libjeid

クラス JeidReader

java.lang.Object
jp.co.osstech.libjeid.JeidReader

public class JeidReader extends Object
  • コンストラクタの詳細

    • JeidReader

      public JeidReader(android.nfc.Tag nfcTag) throws IOException
      コンストラクタ
      パラメータ:
      nfcTag - NFCタグ
      例外:
      IOException - tagがnullの場合、またはISO-DEPでないタグを渡すとIOExceptionをスローします。
    • JeidReader

      public JeidReader(android.nfc.tech.IsoDep isoDep) throws IOException
      コンストラクタ(テスト用)
      パラメータ:
      isoDep - テスト用のIsoDepオブジェクト
      例外:
      IOException - IOエラー
  • メソッドの詳細

    • setDebug

      public void setDebug(boolean debug)
    • getDebug

      public boolean getDebug()
    • debug

      public void debug(String msg)
    • sign

      public byte[] sign(byte[] data, int p1, int p2) throws IOException
      例外:
      IOException
    • detectCardType

      public CardType detectCardType() throws IOException
      カード種別を判別します。
      戻り値:
      カード種別
      例外:
      IOException - IOエラー
    • selectINTextAP

      public INTextAP selectINTextAP() throws IOException
      券面入力補助APのハンドラを返します。
      戻り値:
      券面入力補助AP
      例外:
      IOException - IOエラー
    • selectINVisualAP

      public INVisualAP selectINVisualAP() throws IOException
      券面APのハンドラを返します。
      戻り値:
      券面AP
      例外:
      IOException - IOエラー
    • selectJPKIAP

      public JPKIAP selectJPKIAP() throws IOException
      公的個人認証APのハンドラを返します。
      戻り値:
      公的個人認証AP
      例外:
      IOException - IOエラー
    • selectDriverLicenseAP

      public DriverLicenseAP selectDriverLicenseAP() throws IOException
      免許証APのハンドラを返します。
      戻り値:
      免許証AP
      例外:
      IOException - IOエラー
    • selectPassportAP

      public PassportAP selectPassportAP() throws IOException
      パスポートAPのハンドラを返します。
      戻り値:
      パスポートAP
      例外:
      IOException - IOエラー
    • selectResidenceCardAP

      public ResidenceCardAP selectResidenceCardAP() throws IOException
      在留カードAPのハンドラを返します。
      戻り値:
      在留カードAP
      例外:
      IOException - IOエラー