Class XMLCipher.Factory.CipherReferenceImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Transforms getTransforms()
      Returns the Transforms that specifies how to transform the URI to yield the appropriate cipher value.
      java.lang.String getURI()
      Returns an URI 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 the Transforms that specifies how to transform the URI to yield the appropriate cipher value.
      (package private) org.w3c.dom.Element toElement()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • referenceURI

        private java.lang.String referenceURI
      • referenceTransforms

        private Transforms referenceTransforms
      • referenceNode

        private org.w3c.dom.Attr referenceNode
    • Constructor Detail

      • CipherReferenceImpl

        public CipherReferenceImpl​(java.lang.String uri)
        Parameters:
        uri -
      • CipherReferenceImpl

        public CipherReferenceImpl​(org.w3c.dom.Attr uri)
        Parameters:
        uri -
    • Method Detail

      • getURI

        public java.lang.String getURI()
        Returns an URI that contains an identifier that should be dereferenced.
        Specified by:
        getURI in interface CipherReference
        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 interface CipherReference
        Returns:
        the URI as an Attribute node
      • getTransforms

        public Transforms getTransforms()
        Returns the Transforms that specifies how to transform the URI to yield the appropriate cipher value.
        Specified by:
        getTransforms in interface CipherReference
        Returns:
        the transform that specifies how to transform the reference to yield the intended cipher value.
      • setTransforms

        public void setTransforms​(Transforms transforms)
        Sets the Transforms that specifies how to transform the URI to yield the appropriate cipher value.
        Specified by:
        setTransforms in interface CipherReference
        Parameters:
        transforms - the set of Transforms that specifies how to transform the reference to yield the intended cipher value.
      • toElement

        org.w3c.dom.Element toElement()