public class SessionKey extends java.lang.Object implements ISecureKey
| Constructor and Description |
|---|
SessionKey(android.content.Context context,
IPersistenceService psService) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlias() |
javax.crypto.Cipher |
getDecryptionCipher(java.security.Key key) |
javax.crypto.Cipher |
getEncryptionCipher(java.security.Key key) |
javax.crypto.SecretKey |
getKey() |
java.lang.String |
getTransformation() |
public SessionKey(android.content.Context context, IPersistenceService psService)
public java.lang.String getAlias()
getAlias in interface ISecureKeypublic java.lang.String getTransformation()
getTransformation in interface ISecureKeypublic javax.crypto.Cipher getEncryptionCipher(java.security.Key key) throws EncryptionException
getEncryptionCipher in interface ISecureKeyEncryptionExceptionpublic javax.crypto.Cipher getDecryptionCipher(java.security.Key key) throws EncryptionException
getDecryptionCipher in interface ISecureKeyEncryptionExceptionpublic javax.crypto.SecretKey getKey() throws EncryptionException
getKey in interface ISecureKeyEncryptionException