public final class SymmetricKey extends Object
| Modifier and Type | Method and Description |
|---|---|
static Key |
getKey()
Gets the key for encryption/decryption
|
protected static String |
getKeyFileName(String context) |
static Key |
loadKeyFromFile(File keyFile,
String keyAlgorithm) |
public static Key getKey() throws InvalidKeyException
InvalidKeyException - if the key is not available or is invalidpublic static Key loadKeyFromFile(File keyFile, String keyAlgorithm) throws InvalidKeyException
InvalidKeyExceptionprotected static String getKeyFileName(String context) throws InvalidKeyException
InvalidKeyExceptionCopyright © 2019. All Rights Reserved.