public class SecurePart extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SecurePart.Modifier |
Constructor and Description |
---|
SecurePart(QName name,
boolean generateXPointer,
SecurePart.Modifier modifier) |
SecurePart(QName name,
boolean generateXPointer,
SecurePart.Modifier modifier,
String[] transforms,
String digestMethod) |
SecurePart(QName name,
SecurePart.Modifier modifier) |
SecurePart(QName name,
SecurePart.Modifier modifier,
String[] transforms,
String digestMethod) |
SecurePart(SecurePart.Modifier modifier) |
SecurePart(String externalReference) |
SecurePart(String externalReference,
SecurePart.Modifier modifier) |
SecurePart(String externalReference,
String[] transforms,
String digestMethod) |
Modifier and Type | Method and Description |
---|---|
String |
getDigestMethod() |
String |
getExternalReference() |
String |
getIdToSecure()
The ID of the element to secure (encrypt or sign), possibly
null . |
String |
getIdToSign()
Deprecated.
|
SecurePart.Modifier |
getModifier() |
QName |
getName()
The name of the element to be secured
|
String[] |
getTransforms() |
boolean |
isGenerateXPointer() |
boolean |
isRequired() |
boolean |
isSecureEntireRequest() |
void |
setDigestMethod(String digestMethod) |
void |
setExternalReference(String externalReference) |
void |
setGenerateXPointer(boolean generateXPointer) |
void |
setIdToSecure(String idToSecure) |
void |
setIdToSign(String idToSign)
Deprecated.
|
void |
setModifier(SecurePart.Modifier modifier) |
void |
setName(QName name) |
void |
setRequired(boolean required) |
void |
setSecureEntireRequest(boolean secureEntireRequest) |
void |
setTransforms(String[] transforms) |
public SecurePart(SecurePart.Modifier modifier)
public SecurePart(QName name, SecurePart.Modifier modifier)
public SecurePart(QName name, SecurePart.Modifier modifier, String[] transforms, String digestMethod)
public SecurePart(QName name, boolean generateXPointer, SecurePart.Modifier modifier)
public SecurePart(QName name, boolean generateXPointer, SecurePart.Modifier modifier, String[] transforms, String digestMethod)
public SecurePart(String externalReference)
public SecurePart(String externalReference, SecurePart.Modifier modifier)
public QName getName()
public void setName(QName name)
public SecurePart.Modifier getModifier()
public void setModifier(SecurePart.Modifier modifier)
public String getIdToSecure()
null
.
This matches the attribute value of an element that has an attribute with a name given by
XMLSecurityProperties.getIdAttributeNS()
.null
.public void setIdToSecure(String idToSecure)
@Deprecated public String getIdToSign()
getIdToSecure()
instead.@Deprecated public void setIdToSign(String idToSign)
setIdToSecure(String)
instead.idToSign
- public boolean isGenerateXPointer()
public void setGenerateXPointer(boolean generateXPointer)
public String getExternalReference()
public void setExternalReference(String externalReference)
public String[] getTransforms()
public void setTransforms(String[] transforms)
public String getDigestMethod()
public void setDigestMethod(String digestMethod)
public boolean isRequired()
public void setRequired(boolean required)
public boolean isSecureEntireRequest()
public void setSecureEntireRequest(boolean secureEntireRequest)
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.