org.apache.xml.security.stax.ext
Class SecurePart

java.lang.Object
  extended by org.apache.xml.security.stax.ext.SecurePart

public class SecurePart
extends Object

Class to describe which and how an element must be secured

Version:
$Revision: 1570157 $ $Date: 2014-02-20 11:48:13 +0000 (Thu, 20 Feb 2014) $
Author:
$Author: coheigea $

Nested Class Summary
static class SecurePart.Modifier
           
 
Constructor Summary
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(QName name, String idToSign, String idToReference, SecurePart.Modifier modifier)
           
SecurePart(String externalReference)
           
SecurePart(String externalReference, SecurePart.Modifier modifier)
           
SecurePart(String externalReference, String[] transforms, String digestMethod)
           
 
Method Summary
 String getDigestMethod()
           
 String getExternalReference()
           
 String getIdToReference()
           
 String getIdToSign()
          The id of the Element
 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 setIdToReference(String idToReference)
           
 void setIdToSign(String idToSign)
           
 void setModifier(SecurePart.Modifier modifier)
           
 void setName(QName name)
           
 void setRequired(boolean required)
           
 void setSecureEntireRequest(boolean secureEntireRequest)
           
 void setTransforms(String[] transforms)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurePart

public SecurePart(QName name,
                  SecurePart.Modifier modifier)

SecurePart

public SecurePart(QName name,
                  SecurePart.Modifier modifier,
                  String[] transforms,
                  String digestMethod)

SecurePart

public SecurePart(QName name,
                  boolean generateXPointer,
                  SecurePart.Modifier modifier)

SecurePart

public SecurePart(QName name,
                  boolean generateXPointer,
                  SecurePart.Modifier modifier,
                  String[] transforms,
                  String digestMethod)

SecurePart

public SecurePart(QName name,
                  String idToSign,
                  String idToReference,
                  SecurePart.Modifier modifier)

SecurePart

public SecurePart(String externalReference)

SecurePart

public SecurePart(String externalReference,
                  SecurePart.Modifier modifier)

SecurePart

public SecurePart(String externalReference,
                  String[] transforms,
                  String digestMethod)
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)

getModifier

public SecurePart.Modifier getModifier()

setModifier

public void setModifier(SecurePart.Modifier modifier)

getIdToSign

public String getIdToSign()
The id of the Element

Returns:
The id

setIdToSign

public void setIdToSign(String idToSign)

getIdToReference

public String getIdToReference()

setIdToReference

public void setIdToReference(String idToReference)

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)


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.