661N/A * reserved comment block 661N/A * DO NOT REMOVE OR ALTER! 661N/A * Copyright 2005 The Apache Software Foundation. 661N/A * Licensed under the Apache License, Version 2.0 (the "License"); 661N/A * you may not use this file except in compliance with the License. 661N/A * You may obtain a copy of the License at 661N/A * Unless required by applicable law or agreed to in writing, software 661N/A * distributed under the License is distributed on an "AS IS" BASIS, 661N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 661N/A * See the License for the specific language governing permissions and 661N/A * limitations under the License. 2362N/A * Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. 0N/A * DOM-based abstract implementation of CanonicalizationMethod. 0N/A * @author Sean Mullan 0N/A * Creates a <code>DOMCanonicalizationMethod</code>. 0N/A * @param spi TransformService 6387N/A "Illegal CanonicalizationMethod");
0N/A * Creates a <code>DOMCanonicalizationMethod</code> from an element. This 0N/A * ctor invokes the abstract {@link #unmarshalParams unmarshalParams} 0N/A * method to unmarshal any algorithm-specific input parameters. 0N/A * @param cmElem a CanonicalizationMethod element 0N/A * Canonicalizes the specified data using the underlying canonicalization 0N/A * algorithm. This is a convenience method that is equivalent to invoking 0N/A * the {@link #transform transform} method. 0N/A * @param data the data to be canonicalized 0N/A * @param xc the <code>XMLCryptoContext</code> containing 0N/A * additional context (may be <code>null</code> if not applicable) 0N/A * @return the canonicalized data 0N/A * @throws NullPointerException if <code>data</code> is <code>null</code> 661N/A * @throws TransformException if an unexpected error occurs while 0N/A * canonicalizing the data