public class SignatureConfig extends WSSecurityOption implements Serializable
Java class for SignatureConfig complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SignatureConfig"> <complexContent> <extension base="{}WSSecurityOption"> <attribute name="keyIdentifierType" type="{}KeyIdentifierType" /> <attribute name="signatureAlgorithm" type="{}SignatureAlgorithm" /> <attribute name="signatureCanonicalization" type="{}SignatureCanonicalization" /> <attribute name="digestAlgorithm" type="{}DigestAlgorithm" /> <attribute name="signingCert" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="signatureVerificationCert" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="useSingleCert" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected DigestAlgorithm |
digestAlgorithm |
static SignatureConfig |
EMPTY_INSTANCE |
protected KeyIdentifierType |
keyIdentifierType |
protected SignatureAlgorithm |
signatureAlgorithm |
protected SignatureCanonicalization |
signatureCanonicalization |
protected String |
signatureVerificationCert |
protected String |
signingCert |
protected Boolean |
useSingleCert |
id, parts, type
Constructor and Description |
---|
SignatureConfig() |
Modifier and Type | Method and Description |
---|---|
SignatureConfig |
copy()
Deep copies the fields of the this model into a new instance of this class and returns it.
|
SignatureConfig |
copy(boolean isDeep)
Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.
|
protected SignatureConfig |
copy(SignatureConfig nobj,
boolean isDeep)
Copies the fields of the this model (optionally deeply) into the given instance and returns it.
|
boolean |
equals(Object o) |
DigestAlgorithm |
getDigestAlgorithm()
Gets the value of the digestAlgorithm property.
|
KeyIdentifierType |
getKeyIdentifierType()
Gets the value of the keyIdentifierType property.
|
SignatureAlgorithm |
getSignatureAlgorithm()
Gets the value of the signatureAlgorithm property.
|
SignatureCanonicalization |
getSignatureCanonicalization()
Gets the value of the signatureCanonicalization property.
|
String |
getSignatureVerificationCert()
Gets the value of the signatureVerificationCert property.
|
String |
getSigningCert()
Gets the value of the signingCert property.
|
int |
hashCode() |
Boolean |
isUseSingleCert()
Gets the value of the useSingleCert property.
|
void |
setDigestAlgorithm(DigestAlgorithm value)
Sets the value of the digestAlgorithm property.
|
void |
setKeyIdentifierType(KeyIdentifierType value)
Sets the value of the keyIdentifierType property.
|
void |
setSignatureAlgorithm(SignatureAlgorithm value)
Sets the value of the signatureAlgorithm property.
|
void |
setSignatureCanonicalization(SignatureCanonicalization value)
Sets the value of the signatureCanonicalization property.
|
void |
setSignatureVerificationCert(String value)
Sets the value of the signatureVerificationCert property.
|
void |
setSigningCert(String value)
Sets the value of the signingCert property.
|
void |
setUseSingleCert(Boolean value)
Sets the value of the useSingleCert property.
|
String |
toString() |
SignatureConfig |
withDigestAlgorithm(DigestAlgorithm newValue)
Sets the digestAlgorithm property to the given newValue and returns this instance.
|
SignatureConfig |
withKeyIdentifierType(KeyIdentifierType newValue)
Sets the keyIdentifierType property to the given newValue and returns this instance.
|
SignatureConfig |
withSignatureAlgorithm(SignatureAlgorithm newValue)
Sets the signatureAlgorithm property to the given newValue and returns this instance.
|
SignatureConfig |
withSignatureCanonicalization(SignatureCanonicalization newValue)
Sets the signatureCanonicalization property to the given newValue and returns this instance.
|
SignatureConfig |
withSignatureVerificationCert(String newValue)
Sets the signatureVerificationCert property to the given newValue and returns this instance.
|
SignatureConfig |
withSigningCert(String newValue)
Sets the signingCert property to the given newValue and returns this instance.
|
SignatureConfig |
withUseSingleCert(Boolean newValue)
Sets the useSingleCert property to the given newValue and returns this instance.
|
protected KeyIdentifierType keyIdentifierType
protected SignatureAlgorithm signatureAlgorithm
protected SignatureCanonicalization signatureCanonicalization
protected DigestAlgorithm digestAlgorithm
protected String signingCert
protected String signatureVerificationCert
protected Boolean useSingleCert
public static final SignatureConfig EMPTY_INSTANCE
public KeyIdentifierType getKeyIdentifierType()
KeyIdentifierType
public void setKeyIdentifierType(KeyIdentifierType value)
value
- allowed object is
KeyIdentifierType
public SignatureAlgorithm getSignatureAlgorithm()
SignatureAlgorithm
public void setSignatureAlgorithm(SignatureAlgorithm value)
value
- allowed object is
SignatureAlgorithm
public SignatureCanonicalization getSignatureCanonicalization()
SignatureCanonicalization
public void setSignatureCanonicalization(SignatureCanonicalization value)
value
- allowed object is
SignatureCanonicalization
public DigestAlgorithm getDigestAlgorithm()
DigestAlgorithm
public void setDigestAlgorithm(DigestAlgorithm value)
value
- allowed object is
DigestAlgorithm
public String getSigningCert()
String
public void setSigningCert(String value)
value
- allowed object is
String
public String getSignatureVerificationCert()
String
public void setSignatureVerificationCert(String value)
value
- allowed object is
String
public Boolean isUseSingleCert()
Boolean
public void setUseSingleCert(Boolean value)
value
- allowed object is
Boolean
public int hashCode()
hashCode
in class WSSecurityOption
public String toString()
toString
in class WSSecurityOption
public boolean equals(Object o)
equals
in class WSSecurityOption
public SignatureConfig copy()
copy
in class WSSecurityOption
public SignatureConfig copy(boolean isDeep)
copy
in class WSSecurityOption
protected SignatureConfig copy(SignatureConfig nobj, boolean isDeep)
public SignatureConfig withKeyIdentifierType(KeyIdentifierType newValue)
public SignatureConfig withSignatureAlgorithm(SignatureAlgorithm newValue)
public SignatureConfig withSignatureCanonicalization(SignatureCanonicalization newValue)
public SignatureConfig withDigestAlgorithm(DigestAlgorithm newValue)
public SignatureConfig withSigningCert(String newValue)
public SignatureConfig withSignatureVerificationCert(String newValue)
public SignatureConfig withUseSingleCert(Boolean newValue)