java -cp skceclient.jar EncryptionEngine https://<host:port> <did> <svcusername> <svcpassword> CD <sourcefile> -wp <ws-protocol> [-dn <ldapdn>] -lu <ldapuser> -f <propertiesfile> [-t <targetlocation>]
|
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 |
CD (Cloud 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 |
|
propertiesfile |
Full directory path to properties file with following cloud configuration: |
|
targetlocation |
(Optional) Target destination path to store output file |
$ example:~/topaz> java -cp skceclient.jar EncryptionEngine https://saka.strongkey.com:8181 2 service-cc-ce Abcd1234! CD abc.txt.zenc -wp SOAP -lu encryptdecrypt -lg cn=EncryptionAuthorized,did=2,ou=groups,ou=v2,ou=SKCE,ou=StrongAuth,ou=Applications,dc=strongauth,dc=com -f enc-properties.properties
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 from Cloud at https://saka.strongkey.com:8181 ...
SHA256 message digest received : fe4f1b3042311533a9b40bc297aaff68359f7bbcbff51505b2b1dbe2e28828a7
SHA256 message digest calculated : fe4f1b3042311533a9b40bc297aaff68359f7bbcbff51505b2b1dbe2e28828a7
SHA sum verified! Encryption successful
Done!