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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecrypt(javax.crypto.SecretKey key)voidencrypt(javax.crypto.SecretKey key)intgetKeyNum()java.lang.StringgetKeyType()intgetKeyVersion()java.security.KeygetPrivateKey()java.security.KeygetPublicKey()voidsetKeyNum(int num)voidsetKeyType(java.lang.String t)voidsetKeyVersion(int version)voidsetPrivateKey(java.security.Key key)voidsetPublicKey(java.security.Key key)java.lang.StringtoString()voidupdateData()
-
-
-
Constructor Detail
-
UserKeys
public UserKeys()
-
UserKeys
public UserKeys(TLV tlv)
-
-
Method Detail
-
decrypt
public void decrypt(javax.crypto.SecretKey key) throws java.lang.Exception- Throws:
java.lang.Exception
-
getKeyType
public java.lang.String getKeyType()
-
setKeyType
public void setKeyType(java.lang.String t)
-
getKeyNum
public int getKeyNum()
-
setKeyNum
public void setKeyNum(int num)
-
getKeyVersion
public int getKeyVersion()
-
setKeyVersion
public void setKeyVersion(int version)
-
getPublicKey
public java.security.Key getPublicKey()
-
setPublicKey
public void setPublicKey(java.security.Key key)
-
getPrivateKey
public java.security.Key getPrivateKey()
-
setPrivateKey
public void setPrivateKey(java.security.Key key)
-
encrypt
public void encrypt(javax.crypto.SecretKey key) throws java.lang.Exception- Throws:
java.lang.Exception
-
updateData
public void updateData()
- Overrides:
updateDatain classTLV
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-