public interface AQCrypto
Modifier and Type | Method and Description |
---|---|
String |
computeHashMD2(Object input)
Generates an MD2 hash for the specified object.
|
String |
computeHashMD5(Object input)
Generates a MD5 hash for the specified object.
|
String |
computeHashSHA1(Object input)
Generates a SHA1 hash for the specified object.
|
String |
computeHashSHA256(Object input)
Generates a SHA-256 hash for the specified object.
|
String |
computeHashSHA384(Object input)
Generates a SHA-384 hash for the specified object.
|
String |
computeHashSHA512(Object input)
Generates a SHA-512 hash for the specified object.
|
void |
decryptZipAES(String sourceZipFile,
String destinationFolder,
Object password)
Decrypts a zip file with the AES-256 cipher using the supplied password.
|
void |
encryptZipAES(String sourceZipFile,
String destinationZipFile,
Object password)
Encrypts a zip file with the AES-256 cipher using the supplied password.
|
AQOpaqueObject |
getSecureField(String name)
Retrieves an opaque value from a secure storage.
|
boolean |
verifyHashMD2(Object input,
String hash)
Verify the hash value of the specified object using MD2.
|
boolean |
verifyHashMD5(Object input,
String hash)
Verify the hash value of the specified object using MD5.
|
boolean |
verifyHashSHA1(Object input,
String hash)
Verify the hash value of the specified object using SHA.
|
boolean |
verifyHashSHA256(Object input,
String hash)
Verify the hash value of the specified object using SHA-256.
|
boolean |
verifyHashSHA384(Object input,
String hash)
Verify the hash value of the specified object using SHA-384.
|
boolean |
verifyHashSHA512(Object input,
String hash)
Verify the hash value of the specified object using SHA-512.
|
String computeHashMD2(Object input) throws Exception
Acceptable object types are:
File
AQProjectFile
String
Object
input
- Input object.Exception
- On errorString computeHashMD5(Object input) throws Exception
Acceptable object types are:
File
AQProjectFile
String
Object
input
- Input object.Exception
- On errorString computeHashSHA1(Object input) throws Exception
Acceptable object types are:
File
AQProjectFile
String
Object
input
- Input object.Exception
- On errorString computeHashSHA256(Object input) throws Exception
Acceptable object types are:
File
AQProjectFile
String
Object
input
- Input object.Exception
- On errorString computeHashSHA384(Object input) throws Exception
Acceptable object types are:
File
AQProjectFile
String
Object
input
- Input object.Exception
- On errorString computeHashSHA512(Object input) throws Exception
Acceptable object types are:
File
AQProjectFile
String
Object
input
- Input object.Exception
- On errorboolean verifyHashMD2(Object input, String hash)
Acceptable object types are:
File
AQProjectFile
String
Object
input
- Input Objecthash
- Hash valueboolean verifyHashMD5(Object input, String hash)
Acceptable object types are:
File
AQProjectFile
String
Object
input
- Input Objecthash
- Hash valueboolean verifyHashSHA1(Object input, String hash)
Acceptable object types are:
File
AQProjectFile
String
Object
input
- Input Objecthash
- Hash valueboolean verifyHashSHA256(Object input, String hash)
Acceptable object types are:
File
AQProjectFile
String
Object
input
- Input Objecthash
- Hash valueboolean verifyHashSHA384(Object input, String hash)
Acceptable object types are:
File
AQProjectFile
String
Object
input
- Input Objecthash
- Hash valueboolean verifyHashSHA512(Object input, String hash)
Acceptable object types are:
File
AQProjectFile
String
Object
input
- Input Objecthash
- Hash valuevoid encryptZipAES(String sourceZipFile, String destinationZipFile, Object password) throws Exception
sourceZipFile
- File name of the source zip file in the local file system.destinationZipFile
- File name of the destination zip file.password
- A string or AQOpaqueObject
password.Exception
- On errorvoid decryptZipAES(String sourceZipFile, String destinationFolder, Object password) throws Exception
sourceZipFile
- File name of the source zip file in the local file system.destinationFolder
- Name of the destination folderpassword
- A string or AQOpaqueObject
password.Exception
- On errorAQOpaqueObject getSecureField(String name)
Aqua Data Studio: User specific values are determined by the Options->Secure Storage.
Aqua Data Server: User specific values are determined by the user executing the script.
When script is running in:
name
- Field name.
Copyright © 2017 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.