
public class DynamicKeyObject extends KeyObject
| Modifier and Type | Class and Description |
|---|---|
static class |
DynamicKeyObject.INSTANCES
Minimal key size
|
static class |
DynamicKeyObject.INSTANCESMAX
Recommended key size when normal JVM installed (no extension on encrypt
support)
|
| Constructor and Description |
|---|
DynamicKeyObject(DynamicKeyObject.INSTANCESMAX instance,
String eXTENSION) |
DynamicKeyObject(DynamicKeyObject.INSTANCES instance,
String eXTENSION) |
DynamicKeyObject(int kEYSIZE,
String aLGO,
String iNSTANCE,
String eXTENSION) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithm() |
String |
getFileExtension() |
String |
getInstance() |
int |
getKeySize() |
crypt, crypt, cryptToHex, cryptToHex, decodeHex, decrypt, decryptHexFile, decryptHexInBytes, decryptHexInBytes, decryptHexInString, decryptHexInString, decryptInString, encodeHex, generateKey, getSecretKey, getSecretKeyInBytes, keyReady, saveSecretKey, setSecretKey, setSecretKey, setSecretKey, toCrypt, toDecryptpublic DynamicKeyObject(int kEYSIZE,
String aLGO,
String iNSTANCE,
String eXTENSION)
kEYSIZE - example DES: 56aLGO - example DES: DESiNSTANCE - example DES: DES/ECB/PKCS5PaddingeXTENSION - example DES: despublic DynamicKeyObject(DynamicKeyObject.INSTANCES instance, String eXTENSION)
instance - the minimal default instanceeXTENSION - to use for filespublic DynamicKeyObject(DynamicKeyObject.INSTANCESMAX instance, String eXTENSION)
instance - the maximal default instanceeXTENSION - to use for filespublic final String getAlgorithm()
getAlgorithm in class KeyObjectpublic final String getInstance()
getInstance in class KeyObjectpublic final int getKeySize()
getKeySize in class KeyObjectpublic final String getFileExtension()
getFileExtension in class KeyObjectCopyright © 2009–2022 Waarp. All rights reserved.