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

クラス PACEKey

java.lang.Object
jp.co.osstech.libjeid.ep.PACEKey

public class PACEKey extends Object
PACE 用のパスワード由来鍵 K_pi の生成と、共有秘密からの KDF を担う。 ICAO 9303 Part 11 §4.4.3.1 参照。
  • フィールドの概要

    フィールド
    修飾子とタイプ
    フィールド
    説明
    static final int
     
    static final int
     
    static final int
     
  • コンストラクタの概要

    コンストラクタ
    コンストラクタ
    説明
     
  • メソッドの概要

    修飾子とタイプ
    メソッド
    説明
    byte[]
    AES-256 用 K_pi を返します(MRZ-derived password key)。
    static byte[]
    kdf(byte[] k, int c)
    KDF(K, c) = SHA-256(K || 00 00 00 c) (PACE-AES-256)

    クラスから継承されたメソッド java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • フィールド詳細

  • コンストラクタの詳細

    • PACEKey

      public PACEKey(EPMRZ mrz)
  • メソッドの詳細

    • getKpi

      public byte[] getKpi()
      AES-256 用 K_pi を返します(MRZ-derived password key)。
    • kdf

      public static byte[] kdf(byte[] k, int c)
      KDF(K, c) = SHA-256(K || 00 00 00 c) (PACE-AES-256)