B4J Question Is it possible to test whether KVS value is encrypted?

TorontoJim

Active Member
Licensed User
Longtime User
Now that I've solved the problem with object vs. simple, is there a way to test a value in the kvs to see if it is encrypted? I don't see anything in JRandomAccessFile that does this, nor anything in the KVS class.

I attempted Try-Catch on the GetEncryptedObject, but the program still crashes if I attempt to read encrypted data without a password, or an unencrypted object with a password.

I do have the option of specifying that either all data is encrypted, or no data is encrypted, but want to exhaust anything obvious I'm missing first.
 
Top