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.Attr
referenceNode
private Transforms
referenceTransforms
private java.lang.String
referenceURI
-
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 Transforms
getTransforms()
Returns theTransforms
that specifies how to transform theURI
to yield the appropriate cipher value.java.lang.String
getURI()
Returns anURI
that contains an identifier that should be dereferenced.org.w3c.dom.Attr
getURIAsAttr()
Gets the URI as an Attribute node.void
setTransforms(Transforms transforms)
Sets theTransforms
that specifies how to transform theURI
to yield the appropriate cipher value.(package private) org.w3c.dom.Element
toElement()
-
-
-
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 anURI
that contains an identifier that should be dereferenced.- Specified by:
getURI
in interfaceCipherReference
- Returns:
- an
URI
that 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:
getURIAsAttr
in interfaceCipherReference
- Returns:
- the URI as an Attribute node
-
getTransforms
public Transforms getTransforms()
Returns theTransforms
that specifies how to transform theURI
to yield the appropriate cipher value.- Specified by:
getTransforms
in interfaceCipherReference
- Returns:
- the transform that specifies how to transform the reference to yield the intended cipher value.
-
setTransforms
public void setTransforms(Transforms transforms)
Sets theTransforms
that specifies how to transform theURI
to yield the appropriate cipher value.- Specified by:
setTransforms
in interfaceCipherReference
- Parameters:
transforms
- the set ofTransforms
that specifies how to transform the reference to yield the intended cipher value.
-
toElement
org.w3c.dom.Element toElement()
-
-