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

クラス DriverLicenseAP

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

public class DriverLicenseAP extends Object
免許証APを操作するオブジェクトです。
  • コンストラクタの詳細

    • DriverLicenseAP

      public DriverLicenseAP(JeidReader reader)
      コンストラクタ
      パラメータ:
      reader - JeidReader
  • メソッドの詳細

    • getPin1

      public int getPin1() throws IOException
      免許証APの暗証番号1のカウンタを取得します。
      戻り値:
      カウンタ
      例外:
      IOException - IOエラー
    • verifyPin1

      public void verifyPin1(String pin) throws IOException, InvalidPinException
      免許証APの暗証番号1を入力します。
      パラメータ:
      pin - 暗証番号1(4桁)
      例外:
      IOException - IOエラー
      InvalidPinException - PINの誤り
    • getPin2

      public int getPin2() throws IOException
      免許証APの暗証番号2のカウンタを取得します。
      戻り値:
      カウンタ
      例外:
      IOException - IOエラー
    • verifyPin2

      public void verifyPin2(String pin) throws IOException, InvalidPinException
      免許証APの暗証番号2を入力します。
      パラメータ:
      pin - 暗証番号2(4桁)
      例外:
      IOException - IOエラー
      InvalidPinException - PINの誤り
    • readFiles

      public DLFiles readFiles() throws IOException
      運転免許証AP内のすべてのデータを読み出します。
      戻り値:
      運転免許証AP内のすべてのデータ
      例外:
      IOException - IOエラー
    • readCommonData

      public DriverLicenseCommonData readCommonData() throws IOException
      共通データ要素を読み出します。
      戻り値:
      共通データ要素
      例外:
      IOException - IOエラー
    • readPinSetting

      public DLPinSetting readPinSetting() throws IOException
      暗証番号(PIN)設定を読み出します。
      戻り値:
      暗証番号(PIN)設定
      例外:
      IOException - IOエラー