Syntax
java -jar sakamclient.jar <hostport> <did> <username> <password> D <token-start-value> <#-of-iterations>
|
Value |
Explanation |
|---|---|
|
hostport |
Host and port to access the SAKA SOAP and REST formats: http://<FQDN>:<non-ssl-portnumber> or https://<FQDN>:<ssl-portnumber> Example: https://saka.strongauth.com:8181 |
|
did |
Unique domain identifier that belongs to SAKA |
|
username |
The username in the encryption domain with authorization to call the web service. |
|
password |
The password of the username above. |
|
token-start-value |
Token made by the appliance to be decrypted. |
|
#-of-iterations |
For both encryption and decryption, one can choose how many iterations to do from the original number given. Example, encrypting from number 1 and setting 10 iterations, will encrypt the numbers 1 through 9. |
$ example:~/topaz> java -jar sakamclient.jar https://saka1.strongkey.com:8181 1 encryptdecrypt Abcd1234! D 1000000000000006 4
NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.management/javax.management.openmbean=ALL-UNNAMED --add-opens java.management/javax.management=ALL-UNNAMED --add-opens java.base/sun.security.provider=ALL-UNNAMED
Decryptions per appliance:
https://saka1.strongkey.com:8181 1000000000000006 4
Decryption-Thread-00 calling EncryptionService at https://saka1.strongkey.com:8181..
Decryption-Thread-00: 0. SUCCESS: For Token: 1000000000000006 Recovered PAN: 10 Time in MS: 78
Decryption-Thread-00: 1. SUCCESS: For Token: 1000000000000007 Recovered PAN: 11 Time in MS: 21
Decryption-Thread-00: 2. SUCCESS: For Token: 1000000000000008 Recovered PAN: 13 Time in MS: 16
Decryption-Thread-00: 3. SUCCESS: For Token: 1000000000000009 Recovered PAN: 14 Time in MS: 15