public class CryptoConfig
extends java.lang.Object
Whether to encrypt sensitive data
.
Optional parameter to specify whether sensitive data, such as session keys,
should be encrypted: true
for yes, false
for no. Defaults
to false
if not specified, i.e. no encryption.
Encryption key
.
The key to use to encrypt data. This parameter is only used if encryption
is turned on
and, in that case, it must be
set to a valid Base64-encoded key as generated by the
exportKey
method.
Constructor and Description |
---|
CryptoConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
java.lang.Boolean |
getEncrypt() |
java.lang.String |
getKey() |
int |
hashCode() |
void |
setEncrypt(java.lang.Boolean encrypt) |
void |
setKey(java.lang.String key) |
java.lang.String |
toString() |
public java.lang.Boolean getEncrypt()
public void setEncrypt(java.lang.Boolean encrypt)
public java.lang.String getKey()
public void setKey(java.lang.String key)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object