public class EncryptionConfig extends WSSecurityOption implements Serializable
Java class for EncryptionConfig complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EncryptionConfig">
<complexContent>
<extension base="{}WSSecurityOption">
<attribute name="keyIdentifierType" type="{}KeyIdentifierType" />
<attribute name="keyEncodingAlgorithm" type="{}KeyEncodingAlgorithm" />
<attribute name="symmetricAlgorithm" type="{}SymmetricAlgorithm" />
<attribute name="digestAlgorithm" type="{}DigestAlgorithm" />
<attribute name="encryptKey" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="decryptKey" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
decryptKey |
protected DigestAlgorithm |
digestAlgorithm |
static EncryptionConfig |
EMPTY_INSTANCE |
protected String |
encryptKey |
protected KeyEncodingAlgorithm |
keyEncodingAlgorithm |
protected KeyIdentifierType |
keyIdentifierType |
protected SymmetricAlgorithm |
symmetricAlgorithm |
id, parts, type| Constructor and Description |
|---|
EncryptionConfig() |
| Modifier and Type | Method and Description |
|---|---|
EncryptionConfig |
copy()
Deep copies the fields of the this model into a new instance of this class and returns it.
|
EncryptionConfig |
copy(boolean isDeep)
Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.
|
protected EncryptionConfig |
copy(EncryptionConfig nobj,
boolean isDeep)
Copies the fields of the this model (optionally deeply) into the given instance and returns it.
|
boolean |
equals(Object o) |
String |
getDecryptKey()
Gets the value of the decryptKey property.
|
DigestAlgorithm |
getDigestAlgorithm()
Gets the value of the digestAlgorithm property.
|
String |
getEncryptKey()
Gets the value of the encryptKey property.
|
KeyEncodingAlgorithm |
getKeyEncodingAlgorithm()
Gets the value of the keyEncodingAlgorithm property.
|
KeyIdentifierType |
getKeyIdentifierType()
Gets the value of the keyIdentifierType property.
|
SymmetricAlgorithm |
getSymmetricAlgorithm()
Gets the value of the symmetricAlgorithm property.
|
int |
hashCode() |
void |
setDecryptKey(String value)
Sets the value of the decryptKey property.
|
void |
setDigestAlgorithm(DigestAlgorithm value)
Sets the value of the digestAlgorithm property.
|
void |
setEncryptKey(String value)
Sets the value of the encryptKey property.
|
void |
setKeyEncodingAlgorithm(KeyEncodingAlgorithm value)
Sets the value of the keyEncodingAlgorithm property.
|
void |
setKeyIdentifierType(KeyIdentifierType value)
Sets the value of the keyIdentifierType property.
|
void |
setSymmetricAlgorithm(SymmetricAlgorithm value)
Sets the value of the symmetricAlgorithm property.
|
String |
toString() |
EncryptionConfig |
withDecryptKey(String newValue)
Sets the decryptKey property to the given newValue and returns this instance.
|
EncryptionConfig |
withDigestAlgorithm(DigestAlgorithm newValue)
Sets the digestAlgorithm property to the given newValue and returns this instance.
|
EncryptionConfig |
withEncryptKey(String newValue)
Sets the encryptKey property to the given newValue and returns this instance.
|
EncryptionConfig |
withKeyEncodingAlgorithm(KeyEncodingAlgorithm newValue)
Sets the keyEncodingAlgorithm property to the given newValue and returns this instance.
|
EncryptionConfig |
withKeyIdentifierType(KeyIdentifierType newValue)
Sets the keyIdentifierType property to the given newValue and returns this instance.
|
EncryptionConfig |
withSymmetricAlgorithm(SymmetricAlgorithm newValue)
Sets the symmetricAlgorithm property to the given newValue and returns this instance.
|
protected KeyIdentifierType keyIdentifierType
protected KeyEncodingAlgorithm keyEncodingAlgorithm
protected SymmetricAlgorithm symmetricAlgorithm
protected DigestAlgorithm digestAlgorithm
protected String encryptKey
protected String decryptKey
public static final EncryptionConfig EMPTY_INSTANCE
public KeyIdentifierType getKeyIdentifierType()
KeyIdentifierTypepublic void setKeyIdentifierType(KeyIdentifierType value)
value - allowed object is
KeyIdentifierTypepublic KeyEncodingAlgorithm getKeyEncodingAlgorithm()
KeyEncodingAlgorithmpublic void setKeyEncodingAlgorithm(KeyEncodingAlgorithm value)
value - allowed object is
KeyEncodingAlgorithmpublic SymmetricAlgorithm getSymmetricAlgorithm()
SymmetricAlgorithmpublic void setSymmetricAlgorithm(SymmetricAlgorithm value)
value - allowed object is
SymmetricAlgorithmpublic DigestAlgorithm getDigestAlgorithm()
DigestAlgorithmpublic void setDigestAlgorithm(DigestAlgorithm value)
value - allowed object is
DigestAlgorithmpublic String getEncryptKey()
Stringpublic void setEncryptKey(String value)
value - allowed object is
Stringpublic String getDecryptKey()
Stringpublic void setDecryptKey(String value)
value - allowed object is
Stringpublic int hashCode()
hashCode in class WSSecurityOptionpublic String toString()
toString in class WSSecurityOptionpublic boolean equals(Object o)
equals in class WSSecurityOptionpublic EncryptionConfig copy()
copy in class WSSecurityOptionpublic EncryptionConfig copy(boolean isDeep)
copy in class WSSecurityOptionprotected EncryptionConfig copy(EncryptionConfig nobj, boolean isDeep)
public EncryptionConfig withKeyIdentifierType(KeyIdentifierType newValue)
public EncryptionConfig withKeyEncodingAlgorithm(KeyEncodingAlgorithm newValue)
public EncryptionConfig withSymmetricAlgorithm(SymmetricAlgorithm newValue)
public EncryptionConfig withDigestAlgorithm(DigestAlgorithm newValue)
public EncryptionConfig withEncryptKey(String newValue)
public EncryptionConfig withDecryptKey(String newValue)