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, toDecrypt
public 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 String getAlgorithm()
getAlgorithm
in class KeyObject
public String getInstance()
getInstance
in class KeyObject
public int getKeySize()
getKeySize
in class KeyObject
public String getFileExtension()
getFileExtension
in class KeyObject
Copyright © 2009–2020 Waarp. All rights reserved.