Package | Description |
---|---|
com.hissenit.crypto.compactencryption |
Modifier and Type | Method and Description |
---|---|
static CompactPasswordKey |
CompactPasswordKey.generateKey(Secret passwordOrSecret) |
static CompactPasswordKey |
CompactPasswordKey.generateKey(Secret passwordOrSecret,
boolean passwordChecksum) |
static CompactPasswordKey |
CompactPasswordKey.generateKey(Secret passwordOrSecret,
boolean passwordChecksum,
CompactPasswordKey.GenerationParametersCPK parameters) |
static CompactPasswordKey |
CompactPasswordKey.generateKey(Secret passwordOrSecret,
CompactPasswordKey.GenerationParametersCPK parameters) |
static CompactPasswordKey |
CompactPasswordKey.newInstance(Secret passwordOrSecret)
Creates an uninitialized key.
|
CompactPasswordKey |
CompactPasswordKey.readFromBase64(java.lang.String base64) |
CompactPasswordKey |
CompactPasswordKey.readFromBytes(byte[] bytes) |
CompactPasswordKey |
CompactPasswordKey.readFromFile(java.io.File file) |
CompactPasswordKey |
CompactPasswordKey.readFromFile(java.lang.String file) |
CompactPasswordKey |
CompactPasswordKey.readFromHex(java.lang.String hex) |
CompactPasswordKey |
CompactPasswordKey.readFromJsonObject(morg.json.JSONObject json) |
CompactPasswordKey |
CompactPasswordKey.readFromJsonString(java.lang.String json) |
CompactPasswordKey |
CompactPasswordKey.readFromStream(java.io.InputStream in) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
WrapUtil.rewrapFromBase64(java.lang.String base64,
CompactPasswordKey newPasswordKey)
Helper method for password/secret changes
|
byte[] |
WrapUtil.rewrapFromBytes(byte[] encryptedData,
CompactPasswordKey newPasswordKey)
Helper method for password/secret changes
|
void |
WrapUtil.rewrapFromFile(java.io.File file,
CompactPasswordKey newPasswordKey)
Helper method for password/secret changes
|
void |
WrapUtil.rewrapFromFile(java.lang.String file,
CompactPasswordKey newPasswordKey)
Helper method for password/secret changes
|
java.lang.String |
WrapUtil.rewrapFromHex(java.lang.String hex,
CompactPasswordKey newPasswordKey)
Helper method for password/secret changes
|
morg.json.JSONObject |
WrapUtil.rewrapFromJsonObject(morg.json.JSONObject json,
CompactPasswordKey newPasswordKey)
Helper method for password/secret changes
|
java.lang.String |
WrapUtil.rewrapFromJsonString(java.lang.String json,
CompactPasswordKey newPasswordKey)
Helper method for password/secret changes
|
void |
WrapUtil.rewrapFromStream(java.io.InputStream in,
java.io.OutputStream out,
CompactPasswordKey newPasswordKey)
Helper method for password/secret changes
|
Constructor and Description |
---|
WrapUtil(CompactPasswordKey key) |
WrapUtil(CompactPasswordKey key,
java.lang.String encryptionAlgorithm) |