Package | Description |
---|---|
be.ac.ulb.infof307.g02.database | |
be.ac.ulb.infof307.g02.utils |
Modifier and Type | Method and Description |
---|---|
private void |
KeyStorer.deleteAllPublicInfo(User updatedUser)
Delete user's salt, RSA public key and encrypted AES key .
|
void |
KeyDB.deletePublicData(User updatedUser)
Delete the user's public data (RSA public key, encrypted AES key, salt) from the key table
|
private byte[] |
KeyDB.getBytes(java.lang.String userName,
java.lang.String columnName)
Fetches the bytes in the given column of the Key table for the given user
|
byte[] |
KeyDB.getEncryptedAESKey(java.lang.String userName)
Return user's encrypted AES key
|
byte[] |
KeyStorer.getEncryptedAESKey(User user)
Return user's encrypted AES key
|
private java.security.PrivateKey |
KeyStorer.getPrivateKey(User user)
Return user's RSA private key
|
java.security.PublicKey |
KeyDB.getPublicKey(java.lang.String userName)
Return user's RSA public key
|
byte[] |
KeyDB.getSalt(java.lang.String userName)
Return the user's salt.
|
Modifier and Type | Method and Description |
---|---|
private javax.crypto.SecretKey |
Crypto.getAesKey(User user)
Returns the (unencrypted) AES key
|