Product Documentation

Syntax

java -jar sakamclient.jar  <hostport> <did> <username> <password> E <16-digit-PAN-start-value> <#-of-iterations>

Values

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.

16-digit-PAN-start-value

PAN to be encrypted with numbers from 1 to 16 digits.

#-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.

Output

$ example:~/topaz> java -jar sakamclient.jar https://saka1.strongkey.com:8181 1 encryptdecrypt Abcd1234! E 10 2
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
Encryptions per appliance:
    https://saka1.strongkey.com:8181    10    2
Encryption-Thread-00 calling EncryptionService at https://saka1.strongkey.com:8181..
Encryption-Thread-00: 0.  Original value: 10  Token received: 1000000000000006  Time in MS: 278
Encryption-Thread-00: 1.  Original value: 11  Token received: 1000000000000007  Time in MS: 22