Class SecurePart


  • public class SecurePart
    extends Object
    Class to describe which and how an element must be secured
    • Method Detail

      • getName

        public QName getName()
        The name of the element to be secured
        Returns:
        The Element-Local-Name
      • setName

        public void setName​(QName name)
      • getIdToSecure

        public String getIdToSecure()
        The ID of the element to secure (encrypt or sign), possibly null. This matches the attribute value of an element that has an attribute with a name given by XMLSecurityProperties.getIdAttributeNS().
        Returns:
        The ID of the element to secure, possibly null.
      • setIdToSecure

        public void setIdToSecure​(String idToSecure)
      • isGenerateXPointer

        public boolean isGenerateXPointer()
      • setGenerateXPointer

        public void setGenerateXPointer​(boolean generateXPointer)
      • getExternalReference

        public String getExternalReference()
      • setExternalReference

        public void setExternalReference​(String externalReference)
      • getTransforms

        public String[] getTransforms()
      • setTransforms

        public void setTransforms​(String[] transforms)
      • getDigestMethod

        public String getDigestMethod()
      • setDigestMethod

        public void setDigestMethod​(String digestMethod)
      • isRequired

        public boolean isRequired()
      • setRequired

        public void setRequired​(boolean required)
      • isSecureEntireRequest

        public boolean isSecureEntireRequest()
      • setSecureEntireRequest

        public void setSecureEntireRequest​(boolean secureEntireRequest)