org.eclipse.higgins.icard.provider.cardspace.common.utils
Class EncryptedMasterKey
java.lang.Object
org.eclipse.higgins.icard.provider.cardspace.common.utils.EncryptedMasterKey
- public class EncryptedMasterKey
- extends Object
This class helps to generate symmethric key used to encrypt/decrypt masterkey and claim values
(the salt and initVector bytes of key are stored within encrypted masterkey bytes)
EncryptedMasterKey
public EncryptedMasterKey(byte[] encryptedMasterKey,
byte[] pinCode)
throws org.eclipse.higgins.icard.CardException
getKey
public Key getKey()
getInitVector
public byte[] getInitVector()
getSalt
public byte[] getSalt()
getPinCode
public byte[] getPinCode()
getDecryptedMasterKey
public byte[] getDecryptedMasterKey()
throws org.eclipse.higgins.icard.CardException
- Throws:
org.eclipse.higgins.icard.CardException