Product Documentation

Syntax

java -cp skceclient.jar EncryptionEngine https://<host:port> <did> <svcusername> <svcpassword> D <sourcefile> -wp <ws-protocol> [-dn <ldapdn>] -lu <ldapuser> [-t <targetlocation>]

Values

Value

Explanation

did

Unique domain identifier that belongs to SKCE.

https://<host:port>

The host URL where SKCE service is listening 

Example: https://skce.strongauth.com:8181

svcusername

Service credentials: username

svcpassword

Service credentials: password

command

D (decrypt)

sourcefile

Full pathname of file to be encrypted or decrypted

ldapdn

The full LDAP DN of the user (optional)

ldapuser

The type of key to be stored in the KA.

ws-protocol

Web Service protocol to be used for this operation. Allowed values are SOAP | REST

targetlocation

(Optional) Target destination path to store output file

Output

$ example:~/topaz> java -cp skceclient.jar EncryptionEngine https://saka.strongkey.com:8181 2 service-cc-ce Abcd1234! D abc.txt.zenc -wp SOAP -dn "cn=encryptdecrypt,did=2,ou=users,ou=v2,ou=SKCE,ou=StrongAuth,ou=Applications,dc=strongauth,dc=com" -lu encryptdecrypt
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

skceclient.jar 4.0 (Build 116)
Copyright (c) 2001-2025 StrongAuth, Inc. All rights reserved.

Calling Decrypt at https://saka.strongkey.com:8181 ... 

SHA256 message digest received   : 8ddeee9db38a6c981959fad603aefcbf26a7d6b1b58916aa4370192f73bdf746
SHA256 message digest calculated : 8ddeee9db38a6c981959fad603aefcbf26a7d6b1b58916aa4370192f73bdf746
SHA sum verified! Decryption successful
Done!