public class DLEncryptionUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
byte[] |
generateRandomIV() |
byte[] |
getHeaderDetail() |
int |
getHeaderDetailLength() |
static DLEncryptionUtils |
getInstance() |
int |
getIVLength() |
byte[] |
getSecretKey() |
String |
getTransform() |
boolean |
isInitialised() |
void |
loadAesKeyFromStringPath(String aesKeyPath) |
public static DLEncryptionUtils getInstance()
public String getTransform()
public void loadAesKeyFromStringPath(String aesKeyPath) throws IOException
IOExceptionpublic boolean isInitialised()
public int getHeaderDetailLength()
public int getIVLength()
public byte[] getHeaderDetail()
throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic byte[] getSecretKey()
public byte[] generateRandomIV()
throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionCopyright © 2017. All rights reserved.