RequestOptions.setRequireEncryption(Boolean requireEncryption) Method

Definition

Sets a value to indicate whether all data written and read must be encrypted. Use to encrypt/decrypt data for transactions; otherwise, .

The default is set in the client and is by default false, indicating encryption is not required. You can change the value on this request by setting this property. You can also change the value on the ServiceClient#getDefaultRequestOptions() object so that all subsequent requests made via the service client will use the appropriate value.

public void setRequireEncryption(Boolean requireEncryption)

Parameters

requireEncryption
Boolean

A value to indicate whether all data written and read must be encrypted.

Applies to