Class HBCIAccount.UserKeys

java.lang.Object
org.kapott.hbci.passport.rdhXfile.TLV
org.kapott.hbci.passport.rdhXfile.HBCIAccount.UserKeys
Enclosing class:
HBCIAccount

public static class HBCIAccount.UserKeys extends TLV
  • Field Details

    • keytype

      private int keytype
    • keynum

      private int keynum
    • keyversion

      private int keyversion
    • exponent

      private byte[] exponent
    • modulus

      private byte[] modulus
    • encPrivateKey

      private byte[] encPrivateKey
    • p

      private byte[] p
    • q

      private byte[] q
    • dP

      private byte[] dP
    • dQ

      private byte[] dQ
    • Ap

      private byte[] Ap
    • Aq

      private byte[] Aq
  • Constructor Details

    • UserKeys

      public UserKeys()
    • UserKeys

      public UserKeys(TLV tlv)
  • Method Details

    • decrypt

      public void decrypt(SecretKey key) throws Exception
      Throws:
      Exception
    • getKeyType

      public String getKeyType()
    • setKeyType

      public void setKeyType(String t)
    • getKeyNum

      public int getKeyNum()
    • setKeyNum

      public void setKeyNum(int num)
    • getKeyVersion

      public int getKeyVersion()
    • setKeyVersion

      public void setKeyVersion(int version)
    • getPublicKey

      public Key getPublicKey()
    • setPublicKey

      public void setPublicKey(Key key)
    • getPrivateKey

      public Key getPrivateKey()
    • setPrivateKey

      public void setPrivateKey(Key key)
    • encrypt

      public void encrypt(SecretKey key) throws Exception
      Throws:
      Exception
    • updateData

      public void updateData()
      Overrides:
      updateData in class TLV
    • toString

      public String toString()
      Overrides:
      toString in class Object