com.sun.org.apache.xml.internal.security.transforms.TransformationException Java Examples

The following examples show how to use com.sun.org.apache.xml.internal.security.transforms.TransformationException. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TransformEnvelopedSignature.java    From jdk8u_jdk with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @inheritDoc
 */
protected XMLSignatureInput enginePerformTransform(
    XMLSignatureInput input, OutputStream os, Transform transformObject
) throws TransformationException {
    /**
     * If the actual input is an octet stream, then the application MUST
     * convert the octet stream to an XPath node-set suitable for use by
     * Canonical XML with Comments. (A subsequent application of the
     * REQUIRED Canonical XML algorithm would strip away these comments.)
     *
     * ...
     *
     * The evaluation of this expression includes all of the document's nodes
     * (including comments) in the node-set representing the octet stream.
     */

    Node signatureElement = transformObject.getElement();

    signatureElement = searchSignatureElement(signatureElement);
    input.setExcludeNode(signatureElement);
    input.addNodeFilter(new EnvelopedNodeFilter(signatureElement));
    return input;
}
 
Example #2
Source File: TransformEnvelopedSignature.java    From openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @inheritDoc
 */
protected XMLSignatureInput enginePerformTransform(
    XMLSignatureInput input, OutputStream os, Transform transformObject
) throws TransformationException {
    /**
     * If the actual input is an octet stream, then the application MUST
     * convert the octet stream to an XPath node-set suitable for use by
     * Canonical XML with Comments. (A subsequent application of the
     * REQUIRED Canonical XML algorithm would strip away these comments.)
     *
     * ...
     *
     * The evaluation of this expression includes all of the document's nodes
     * (including comments) in the node-set representing the octet stream.
     */

    Node signatureElement = transformObject.getElement();

    signatureElement = searchSignatureElement(signatureElement);
    input.setExcludeNode(signatureElement);
    input.addNodeFilter(new EnvelopedNodeFilter(signatureElement));
    return input;
}
 
Example #3
Source File: TransformEnvelopedSignature.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @inheritDoc
 */
protected XMLSignatureInput enginePerformTransform(
    XMLSignatureInput input, OutputStream os, Transform transformObject
) throws TransformationException {
    /**
     * If the actual input is an octet stream, then the application MUST
     * convert the octet stream to an XPath node-set suitable for use by
     * Canonical XML with Comments. (A subsequent application of the
     * REQUIRED Canonical XML algorithm would strip away these comments.)
     *
     * ...
     *
     * The evaluation of this expression includes all of the document's nodes
     * (including comments) in the node-set representing the octet stream.
     */

    Node signatureElement = transformObject.getElement();

    signatureElement = searchSignatureElement(signatureElement);
    input.setExcludeNode(signatureElement);
    input.addNodeFilter(new EnvelopedNodeFilter(signatureElement));
    return input;
}
 
Example #4
Source File: TransformEnvelopedSignature.java    From dragonwell8_jdk with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @inheritDoc
 */
protected XMLSignatureInput enginePerformTransform(
    XMLSignatureInput input, OutputStream os, Transform transformObject
) throws TransformationException {
    /**
     * If the actual input is an octet stream, then the application MUST
     * convert the octet stream to an XPath node-set suitable for use by
     * Canonical XML with Comments. (A subsequent application of the
     * REQUIRED Canonical XML algorithm would strip away these comments.)
     *
     * ...
     *
     * The evaluation of this expression includes all of the document's nodes
     * (including comments) in the node-set representing the octet stream.
     */

    Node signatureElement = transformObject.getElement();

    signatureElement = searchSignatureElement(signatureElement);
    input.setExcludeNode(signatureElement);
    input.addNodeFilter(new EnvelopedNodeFilter(signatureElement));
    return input;
}
 
Example #5
Source File: TransformEnvelopedSignature.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @inheritDoc
 */
protected XMLSignatureInput enginePerformTransform(
    XMLSignatureInput input, OutputStream os, Transform transformObject
) throws TransformationException {
    /**
     * If the actual input is an octet stream, then the application MUST
     * convert the octet stream to an XPath node-set suitable for use by
     * Canonical XML with Comments. (A subsequent application of the
     * REQUIRED Canonical XML algorithm would strip away these comments.)
     *
     * ...
     *
     * The evaluation of this expression includes all of the document's nodes
     * (including comments) in the node-set representing the octet stream.
     */

    Node signatureElement = transformObject.getElement();

    signatureElement = searchSignatureElement(signatureElement);
    input.setExcludeNode(signatureElement);
    input.addNodeFilter(new EnvelopedNodeFilter(signatureElement));
    return input;
}
 
Example #6
Source File: TransformEnvelopedSignature.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @param signatureElement
 * @return the node that is the signature
 * @throws TransformationException
 */
private static Node searchSignatureElement(Node signatureElement)
    throws TransformationException {
    boolean found = false;

    while (true) {
        if (signatureElement == null
            || signatureElement.getNodeType() == Node.DOCUMENT_NODE) {
            break;
        }
        Element el = (Element) signatureElement;
        if (el.getNamespaceURI().equals(Constants.SignatureSpecNS)
            && el.getLocalName().equals(Constants._TAG_SIGNATURE)) {
            found = true;
            break;
        }

        signatureElement = signatureElement.getParentNode();
    }

    if (!found) {
        throw new TransformationException(
            "transform.envelopedSignatureTransformNotInSignatureElement");
    }
    return signatureElement;
}
 
Example #7
Source File: TransformEnvelopedSignature.java    From jdk1.8-source-analysis with Apache License 2.0 6 votes vote down vote up
/**
 * @inheritDoc
 */
protected XMLSignatureInput enginePerformTransform(
    XMLSignatureInput input, OutputStream os, Transform transformObject
) throws TransformationException {
    /**
     * If the actual input is an octet stream, then the application MUST
     * convert the octet stream to an XPath node-set suitable for use by
     * Canonical XML with Comments. (A subsequent application of the
     * REQUIRED Canonical XML algorithm would strip away these comments.)
     *
     * ...
     *
     * The evaluation of this expression includes all of the document's nodes
     * (including comments) in the node-set representing the octet stream.
     */

    Node signatureElement = transformObject.getElement();

    signatureElement = searchSignatureElement(signatureElement);
    input.setExcludeNode(signatureElement);
    input.addNodeFilter(new EnvelopedNodeFilter(signatureElement));
    return input;
}
 
Example #8
Source File: TransformEnvelopedSignature.java    From jdk1.8-source-analysis with Apache License 2.0 6 votes vote down vote up
/**
 * @param signatureElement
 * @return the node that is the signature
 * @throws TransformationException
 */
private static Node searchSignatureElement(Node signatureElement)
    throws TransformationException {
    boolean found = false;

    while (true) {
        if (signatureElement == null
            || signatureElement.getNodeType() == Node.DOCUMENT_NODE) {
            break;
        }
        Element el = (Element) signatureElement;
        if (el.getNamespaceURI().equals(Constants.SignatureSpecNS)
            && el.getLocalName().equals(Constants._TAG_SIGNATURE)) {
            found = true;
            break;
        }

        signatureElement = signatureElement.getParentNode();
    }

    if (!found) {
        throw new TransformationException(
            "transform.envelopedSignatureTransformNotInSignatureElement");
    }
    return signatureElement;
}
 
Example #9
Source File: TransformEnvelopedSignature.java    From dragonwell8_jdk with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @param signatureElement
 * @return the node that is the signature
 * @throws TransformationException
 */
private static Node searchSignatureElement(Node signatureElement)
    throws TransformationException {
    boolean found = false;

    while (true) {
        if (signatureElement == null
            || signatureElement.getNodeType() == Node.DOCUMENT_NODE) {
            break;
        }
        Element el = (Element) signatureElement;
        if (el.getNamespaceURI().equals(Constants.SignatureSpecNS)
            && el.getLocalName().equals(Constants._TAG_SIGNATURE)) {
            found = true;
            break;
        }

        signatureElement = signatureElement.getParentNode();
    }

    if (!found) {
        throw new TransformationException(
            "transform.envelopedSignatureTransformNotInSignatureElement");
    }
    return signatureElement;
}
 
Example #10
Source File: TransformEnvelopedSignature.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @param signatureElement
 * @return the node that is the signature
 * @throws TransformationException
 */
private static Node searchSignatureElement(Node signatureElement)
    throws TransformationException {
    boolean found = false;

    while (true) {
        if (signatureElement == null
            || signatureElement.getNodeType() == Node.DOCUMENT_NODE) {
            break;
        }
        Element el = (Element) signatureElement;
        if (el.getNamespaceURI().equals(Constants.SignatureSpecNS)
            && el.getLocalName().equals(Constants._TAG_SIGNATURE)) {
            found = true;
            break;
        }

        signatureElement = signatureElement.getParentNode();
    }

    if (!found) {
        throw new TransformationException(
            "transform.envelopedSignatureTransformNotInSignatureElement");
    }
    return signatureElement;
}
 
Example #11
Source File: TransformEnvelopedSignature.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @param signatureElement
 * @return the node that is the signature
 * @throws TransformationException
 */
private static Node searchSignatureElement(Node signatureElement)
    throws TransformationException {
    boolean found = false;

    while (true) {
        if (signatureElement == null
            || signatureElement.getNodeType() == Node.DOCUMENT_NODE) {
            break;
        }
        Element el = (Element) signatureElement;
        if (el.getNamespaceURI().equals(Constants.SignatureSpecNS)
            && el.getLocalName().equals(Constants._TAG_SIGNATURE)) {
            found = true;
            break;
        }

        signatureElement = signatureElement.getParentNode();
    }

    if (!found) {
        throw new TransformationException(
            "transform.envelopedSignatureTransformNotInSignatureElement");
    }
    return signatureElement;
}
 
Example #12
Source File: TransformEnvelopedSignature.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @inheritDoc
 */
protected XMLSignatureInput enginePerformTransform(
    XMLSignatureInput input, OutputStream os, Transform transformObject
) throws TransformationException {
    /**
     * If the actual input is an octet stream, then the application MUST
     * convert the octet stream to an XPath node-set suitable for use by
     * Canonical XML with Comments. (A subsequent application of the
     * REQUIRED Canonical XML algorithm would strip away these comments.)
     *
     * ...
     *
     * The evaluation of this expression includes all of the document's nodes
     * (including comments) in the node-set representing the octet stream.
     */

    Node signatureElement = transformObject.getElement();

    signatureElement = searchSignatureElement(signatureElement);
    input.setExcludeNode(signatureElement);
    input.addNodeFilter(new EnvelopedNodeFilter(signatureElement));
    return input;
}
 
Example #13
Source File: TransformEnvelopedSignature.java    From jdk8u-jdk with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @param signatureElement
 * @return the node that is the signature
 * @throws TransformationException
 */
private static Node searchSignatureElement(Node signatureElement)
    throws TransformationException {
    boolean found = false;

    while (true) {
        if (signatureElement == null
            || signatureElement.getNodeType() == Node.DOCUMENT_NODE) {
            break;
        }
        Element el = (Element) signatureElement;
        if (el.getNamespaceURI().equals(Constants.SignatureSpecNS)
            && el.getLocalName().equals(Constants._TAG_SIGNATURE)) {
            found = true;
            break;
        }

        signatureElement = signatureElement.getParentNode();
    }

    if (!found) {
        throw new TransformationException(
            "transform.envelopedSignatureTransformNotInSignatureElement");
    }
    return signatureElement;
}
 
Example #14
Source File: TransformEnvelopedSignature.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @inheritDoc
 */
protected XMLSignatureInput enginePerformTransform(
    XMLSignatureInput input, OutputStream os, Transform transformObject
) throws TransformationException {
    /**
     * If the actual input is an octet stream, then the application MUST
     * convert the octet stream to an XPath node-set suitable for use by
     * Canonical XML with Comments. (A subsequent application of the
     * REQUIRED Canonical XML algorithm would strip away these comments.)
     *
     * ...
     *
     * The evaluation of this expression includes all of the document's nodes
     * (including comments) in the node-set representing the octet stream.
     */

    Node signatureElement = transformObject.getElement();

    signatureElement = searchSignatureElement(signatureElement);
    input.setExcludeNode(signatureElement);
    input.addNodeFilter(new EnvelopedNodeFilter(signatureElement));
    return input;
}
 
Example #15
Source File: TransformEnvelopedSignature.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @param signatureElement
 * @return the node that is the signature
 * @throws TransformationException
 */
private static Node searchSignatureElement(Node signatureElement)
    throws TransformationException {
    boolean found = false;

    while (true) {
        if (signatureElement == null
            || signatureElement.getNodeType() == Node.DOCUMENT_NODE) {
            break;
        }
        Element el = (Element) signatureElement;
        if (el.getNamespaceURI().equals(Constants.SignatureSpecNS)
            && el.getLocalName().equals(Constants._TAG_SIGNATURE)) {
            found = true;
            break;
        }

        signatureElement = signatureElement.getParentNode();
    }

    if (!found) {
        throw new TransformationException(
            "transform.envelopedSignatureTransformNotInSignatureElement");
    }
    return signatureElement;
}
 
Example #16
Source File: TransformEnvelopedSignature.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @param signatureElement
 * @return the node that is the signature
 * @throws TransformationException
 */
private static Node searchSignatureElement(Node signatureElement)
    throws TransformationException {
    boolean found = false;

    while (true) {
        if (signatureElement == null
            || signatureElement.getNodeType() == Node.DOCUMENT_NODE) {
            break;
        }
        Element el = (Element) signatureElement;
        if (el.getNamespaceURI().equals(Constants.SignatureSpecNS)
            && el.getLocalName().equals(Constants._TAG_SIGNATURE)) {
            found = true;
            break;
        }

        signatureElement = signatureElement.getParentNode();
    }

    if (!found) {
        throw new TransformationException(
            "transform.envelopedSignatureTransformNotInSignatureElement");
    }
    return signatureElement;
}
 
Example #17
Source File: TransformEnvelopedSignature.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @inheritDoc
 */
protected XMLSignatureInput enginePerformTransform(
    XMLSignatureInput input, OutputStream os, Transform transformObject
) throws TransformationException {
    /**
     * If the actual input is an octet stream, then the application MUST
     * convert the octet stream to an XPath node-set suitable for use by
     * Canonical XML with Comments. (A subsequent application of the
     * REQUIRED Canonical XML algorithm would strip away these comments.)
     *
     * ...
     *
     * The evaluation of this expression includes all of the document's nodes
     * (including comments) in the node-set representing the octet stream.
     */

    Node signatureElement = transformObject.getElement();

    signatureElement = searchSignatureElement(signatureElement);
    input.setExcludeNode(signatureElement);
    input.addNodeFilter(new EnvelopedNodeFilter(signatureElement));
    return input;
}
 
Example #18
Source File: TransformEnvelopedSignature.java    From openjdk-jdk9 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @inheritDoc
 */
protected XMLSignatureInput enginePerformTransform(
    XMLSignatureInput input, OutputStream os, Transform transformObject
) throws TransformationException {
    /**
     * If the actual input is an octet stream, then the application MUST
     * convert the octet stream to an XPath node-set suitable for use by
     * Canonical XML with Comments. (A subsequent application of the
     * REQUIRED Canonical XML algorithm would strip away these comments.)
     *
     * ...
     *
     * The evaluation of this expression includes all of the document's nodes
     * (including comments) in the node-set representing the octet stream.
     */

    Node signatureElement = transformObject.getElement();

    signatureElement = searchSignatureElement(signatureElement);
    input.setExcludeNode(signatureElement);
    input.addNodeFilter(new EnvelopedNodeFilter(signatureElement));
    return input;
}
 
Example #19
Source File: TransformEnvelopedSignature.java    From openjdk-jdk9 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @param signatureElement
 * @return the node that is the signature
 * @throws TransformationException
 */
private static Node searchSignatureElement(Node signatureElement)
    throws TransformationException {
    boolean found = false;

    while (true) {
        if (signatureElement == null
            || signatureElement.getNodeType() == Node.DOCUMENT_NODE) {
            break;
        }
        Element el = (Element) signatureElement;
        if (el.getNamespaceURI().equals(Constants.SignatureSpecNS)
            && el.getLocalName().equals(Constants._TAG_SIGNATURE)) {
            found = true;
            break;
        }

        signatureElement = signatureElement.getParentNode();
    }

    if (!found) {
        throw new TransformationException(
            "transform.envelopedSignatureTransformNotInSignatureElement");
    }
    return signatureElement;
}
 
Example #20
Source File: TransformEnvelopedSignature.java    From JDKSourceCode1.8 with MIT License 6 votes vote down vote up
/**
 * @param signatureElement
 * @return the node that is the signature
 * @throws TransformationException
 */
private static Node searchSignatureElement(Node signatureElement)
    throws TransformationException {
    boolean found = false;

    while (true) {
        if (signatureElement == null
            || signatureElement.getNodeType() == Node.DOCUMENT_NODE) {
            break;
        }
        Element el = (Element) signatureElement;
        if (el.getNamespaceURI().equals(Constants.SignatureSpecNS)
            && el.getLocalName().equals(Constants._TAG_SIGNATURE)) {
            found = true;
            break;
        }

        signatureElement = signatureElement.getParentNode();
    }

    if (!found) {
        throw new TransformationException(
            "transform.envelopedSignatureTransformNotInSignatureElement");
    }
    return signatureElement;
}
 
Example #21
Source File: TransformEnvelopedSignature.java    From JDKSourceCode1.8 with MIT License 6 votes vote down vote up
/**
 * @inheritDoc
 */
protected XMLSignatureInput enginePerformTransform(
    XMLSignatureInput input, OutputStream os, Transform transformObject
) throws TransformationException {
    /**
     * If the actual input is an octet stream, then the application MUST
     * convert the octet stream to an XPath node-set suitable for use by
     * Canonical XML with Comments. (A subsequent application of the
     * REQUIRED Canonical XML algorithm would strip away these comments.)
     *
     * ...
     *
     * The evaluation of this expression includes all of the document's nodes
     * (including comments) in the node-set representing the octet stream.
     */

    Node signatureElement = transformObject.getElement();

    signatureElement = searchSignatureElement(signatureElement);
    input.setExcludeNode(signatureElement);
    input.addNodeFilter(new EnvelopedNodeFilter(signatureElement));
    return input;
}
 
Example #22
Source File: TransformEnvelopedSignature.java    From jdk8u-jdk with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @inheritDoc
 */
protected XMLSignatureInput enginePerformTransform(
    XMLSignatureInput input, OutputStream os, Transform transformObject
) throws TransformationException {
    /**
     * If the actual input is an octet stream, then the application MUST
     * convert the octet stream to an XPath node-set suitable for use by
     * Canonical XML with Comments. (A subsequent application of the
     * REQUIRED Canonical XML algorithm would strip away these comments.)
     *
     * ...
     *
     * The evaluation of this expression includes all of the document's nodes
     * (including comments) in the node-set representing the octet stream.
     */

    Node signatureElement = transformObject.getElement();

    signatureElement = searchSignatureElement(signatureElement);
    input.setExcludeNode(signatureElement);
    input.addNodeFilter(new EnvelopedNodeFilter(signatureElement));
    return input;
}
 
Example #23
Source File: TransformEnvelopedSignature.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @param signatureElement
 * @return the node that is the signature
 * @throws TransformationException
 */
private static Node searchSignatureElement(Node signatureElement)
    throws TransformationException {
    boolean found = false;

    while (true) {
        if (signatureElement == null
            || signatureElement.getNodeType() == Node.DOCUMENT_NODE) {
            break;
        }
        Element el = (Element) signatureElement;
        if (el.getNamespaceURI().equals(Constants.SignatureSpecNS)
            && el.getLocalName().equals(Constants._TAG_SIGNATURE)) {
            found = true;
            break;
        }

        signatureElement = signatureElement.getParentNode();
    }

    if (!found) {
        throw new TransformationException(
            "transform.envelopedSignatureTransformNotInSignatureElement");
    }
    return signatureElement;
}
 
Example #24
Source File: TransformXPointer.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method enginePerformTransform
 *
 * @param input
 * @return  {@link XMLSignatureInput} as the result of transformation
 * @throws TransformationException
 */
protected XMLSignatureInput enginePerformTransform(
    XMLSignatureInput input, OutputStream os, Transform transformObject
) throws TransformationException {

    Object exArgs[] = { implementedTransformURI };

    throw new TransformationException("signature.Transform.NotYetImplemented", exArgs);
}
 
Example #25
Source File: TransformXPointer.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
/**
 * Method enginePerformTransform
 *
 * @param input
 * @return  {@link XMLSignatureInput} as the result of transformation
 * @throws TransformationException
 */
protected XMLSignatureInput enginePerformTransform(
    XMLSignatureInput input, OutputStream os, Transform transformObject
) throws TransformationException {

    Object exArgs[] = { implementedTransformURI };

    throw new TransformationException("signature.Transform.NotYetImplemented", exArgs);
}
 
Example #26
Source File: TransformXPointer.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method enginePerformTransform
 *
 * @param input
 * @return  {@link XMLSignatureInput} as the result of transformation
 * @throws TransformationException
 */
protected XMLSignatureInput enginePerformTransform(
    XMLSignatureInput input, OutputStream os, Transform transformObject
) throws TransformationException {

    Object exArgs[] = { implementedTransformURI };

    throw new TransformationException("signature.Transform.NotYetImplemented", exArgs);
}
 
Example #27
Source File: TransformXPointer.java    From jdk8u_jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method enginePerformTransform
 *
 * @param input
 * @return  {@link XMLSignatureInput} as the result of transformation
 * @throws TransformationException
 */
protected XMLSignatureInput enginePerformTransform(
    XMLSignatureInput input, OutputStream os, Transform transformObject
) throws TransformationException {

    Object exArgs[] = { implementedTransformURI };

    throw new TransformationException("signature.Transform.NotYetImplemented", exArgs);
}
 
Example #28
Source File: TransformXPointer.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method enginePerformTransform
 *
 * @param input
 * @return  {@link XMLSignatureInput} as the result of transformation
 * @throws TransformationException
 */
protected XMLSignatureInput enginePerformTransform(
    XMLSignatureInput input, OutputStream os, Transform transformObject
) throws TransformationException {

    Object exArgs[] = { implementedTransformURI };

    throw new TransformationException("signature.Transform.NotYetImplemented", exArgs);
}
 
Example #29
Source File: TransformXPointer.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method enginePerformTransform
 *
 * @param input
 * @return  {@link XMLSignatureInput} as the result of transformation
 * @throws TransformationException
 */
protected XMLSignatureInput enginePerformTransform(
    XMLSignatureInput input, OutputStream os, Transform transformObject
) throws TransformationException {

    Object exArgs[] = { implementedTransformURI };

    throw new TransformationException("signature.Transform.NotYetImplemented", exArgs);
}
 
Example #30
Source File: TransformXPointer.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method enginePerformTransform
 *
 * @param input
 * @return  {@link XMLSignatureInput} as the result of transformation
 * @throws TransformationException
 */
protected XMLSignatureInput enginePerformTransform(
    XMLSignatureInput input, OutputStream os, Transform transformObject
) throws TransformationException {

    Object exArgs[] = { implementedTransformURI };

    throw new TransformationException("signature.Transform.NotYetImplemented", exArgs);
}