Class XMLCipher.Factory.CipherReferenceImpl
- java.lang.Object
-
- org.apache.xml.security.encryption.XMLCipher.Factory.CipherReferenceImpl
-
- All Implemented Interfaces:
CipherReference
- Enclosing class:
- XMLCipher.Factory
private class XMLCipher.Factory.CipherReferenceImpl extends java.lang.Object implements CipherReference
-
-
Field Summary
Fields Modifier and Type Field Description private org.w3c.dom.AttrreferenceNodeprivate TransformsreferenceTransformsprivate java.lang.StringreferenceURI
-
Constructor Summary
Constructors Constructor Description CipherReferenceImpl(java.lang.String uri)CipherReferenceImpl(org.w3c.dom.Attr uri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransformsgetTransforms()Returns theTransformsthat specifies how to transform theURIto yield the appropriate cipher value.java.lang.StringgetURI()Returns anURIthat contains an identifier that should be dereferenced.org.w3c.dom.AttrgetURIAsAttr()Gets the URI as an Attribute node.voidsetTransforms(Transforms transforms)Sets theTransformsthat specifies how to transform theURIto yield the appropriate cipher value.(package private) org.w3c.dom.ElementtoElement()
-
-
-
Field Detail
-
referenceURI
private java.lang.String referenceURI
-
referenceTransforms
private Transforms referenceTransforms
-
referenceNode
private org.w3c.dom.Attr referenceNode
-
-
Method Detail
-
getURI
public java.lang.String getURI()
Returns anURIthat contains an identifier that should be dereferenced.- Specified by:
getURIin interfaceCipherReference- Returns:
- an
URIthat contains an identifier that should be dereferenced.
-
getURIAsAttr
public org.w3c.dom.Attr getURIAsAttr()
Gets the URI as an Attribute node. Used to meld the CipherReference with the XMLSignature ResourceResolvers- Specified by:
getURIAsAttrin interfaceCipherReference- Returns:
- the URI as an Attribute node
-
getTransforms
public Transforms getTransforms()
Returns theTransformsthat specifies how to transform theURIto yield the appropriate cipher value.- Specified by:
getTransformsin interfaceCipherReference- Returns:
- the transform that specifies how to transform the reference to yield the intended cipher value.
-
setTransforms
public void setTransforms(Transforms transforms)
Sets theTransformsthat specifies how to transform theURIto yield the appropriate cipher value.- Specified by:
setTransformsin interfaceCipherReference- Parameters:
transforms- the set ofTransformsthat specifies how to transform the reference to yield the intended cipher value.
-
toElement
org.w3c.dom.Element toElement()
-
-