0N/A * reserved comment block 0N/A * DO NOT REMOVE OR ALTER! 6159N/A * Licensed to the Apache Software Foundation (ASF) under one 6159N/A * or more contributor license agreements. See the NOTICE file 6159N/A * distributed with this work for additional information 6159N/A * regarding copyright ownership. The ASF licenses this file 6159N/A * to you under the Apache License, Version 2.0 (the 6159N/A * "License"); you may not use this file except in compliance 6159N/A * with the License. You may obtain a copy of the License at 6159N/A * Unless required by applicable law or agreed to in writing, 6159N/A * software distributed under the License is distributed on an 6159N/A * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 6159N/A * KIND, either express or implied. See the License for the 6159N/A * specific language governing permissions and limitations 6159N/A * Allows selection of digital signature's algorithm, private keys, other 6159N/A * security parameters, and algorithm's ID. 0N/A * @author Christian Geuer-Pollmann 6159N/A /** {@link org.apache.commons.logging} logging facility */ 6159N/A /** All available algorithm classes are registered here */ 6159N/A /** Field signatureAlgorithm */ 6159N/A * Constructor SignatureAlgorithm 6159N/A * @throws XMLSecurityException 6159N/A * Constructor SignatureAlgorithm 6159N/A * @throws XMLSecurityException 6159N/A * Constructor SignatureAlgorithm 6159N/A * @throws XMLSecurityException 6159N/A * Constructor SignatureAlgorithm 6159N/A * @throws XMLSecurityException 6159N/A * Get a SignatureAlgorithmSpi object corresponding to the algorithmURI argument 6159N/A * Proxy method for {@link java.security.Signature#sign()} 6159N/A * which is executed on the internal {@link java.security.Signature} object. 6159N/A * @return the result of the {@link java.security.Signature#sign()} method 6159N/A * @throws XMLSignatureException 6159N/A * Proxy method for {@link java.security.Signature#getAlgorithm} 6159N/A * which is executed on the internal {@link java.security.Signature} object. 6159N/A * @return the result of the {@link java.security.Signature#getAlgorithm} method 6159N/A * Method getJCEProviderName 6159N/A * @return The Provider of this Signature Algorithm 6159N/A * Proxy method for {@link java.security.Signature#update(byte[])} 6159N/A * which is executed on the internal {@link java.security.Signature} object. 6159N/A * @throws XMLSignatureException 6159N/A * Proxy method for {@link java.security.Signature#update(byte)} 6159N/A * which is executed on the internal {@link java.security.Signature} object. 6159N/A * @throws XMLSignatureException 6159N/A * Proxy method for {@link java.security.Signature#update(byte[], int, int)} 6159N/A * which is executed on the internal {@link java.security.Signature} object. 6159N/A * @throws XMLSignatureException 6159N/A * Proxy method for {@link java.security.Signature#initSign(java.security.PrivateKey)} 6159N/A * which is executed on the internal {@link java.security.Signature} object. 6159N/A * @throws XMLSignatureException 6159N/A * Proxy method for {@link java.security.Signature#initSign(java.security.PrivateKey, 6159N/A * java.security.SecureRandom)} 6159N/A * which is executed on the internal {@link java.security.Signature} object. 6159N/A * @throws XMLSignatureException 6159N/A * Proxy method for {@link java.security.Signature#initSign(java.security.PrivateKey)} 6159N/A * which is executed on the internal {@link java.security.Signature} object. 6159N/A * @param algorithmParameterSpec 6159N/A * @throws XMLSignatureException 6159N/A * Proxy method for {@link java.security.Signature#setParameter( 6159N/A * java.security.spec.AlgorithmParameterSpec)} 6159N/A * which is executed on the internal {@link java.security.Signature} object. 6159N/A * @throws XMLSignatureException 6159N/A * Proxy method for {@link java.security.Signature#initVerify(java.security.PublicKey)} 6159N/A * which is executed on the internal {@link java.security.Signature} object. 6159N/A * @throws XMLSignatureException 6159N/A * Proxy method for {@link java.security.Signature#verify(byte[])} 6159N/A * which is executed on the internal {@link java.security.Signature} object. 6159N/A * @return true if if the signature is valid. 6159N/A * @throws XMLSignatureException 6159N/A * Returns the URI representation of Transformation algorithm 6159N/A * @return the URI representation of Transformation algorithm 6159N/A * Registers implementing class of the Transform algorithm with algorithmURI 6159N/A * @param algorithmURI algorithmURI URI representation of <code>Transform algorithm</code>. 6159N/A * @param implementingClass <code>implementingClass</code> the implementing class of 6159N/A * {@link SignatureAlgorithmSpi} 6159N/A * @throws AlgorithmAlreadyRegisteredException if specified algorithmURI is already registered 6159N/A * @throws XMLSignatureException 6159N/A // are we already registered? 6159N/A * Registers implementing class of the Transform algorithm with algorithmURI 6159N/A * @param algorithmURI algorithmURI URI representation of <code>Transform algorithm</code>. 6159N/A * @param implementingClass <code>implementingClass</code> the implementing class of 6159N/A * {@link SignatureAlgorithmSpi} 6159N/A * @throws AlgorithmAlreadyRegisteredException if specified algorithmURI is already registered 6159N/A * @throws XMLSignatureException 6159N/A // are we already registered? 6159N/A * This method registers the default algorithms. 6159N/A * @return URI of this element