/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* Copyright 2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
/*
*/
/*
* $Id: DOMXMLSignatureFactory.java,v 1.2 2008/07/24 15:20:32 mullan Exp $
*/
/**
* DOM-based implementation of XMLSignatureFactory.
*
* @author Sean Mullan
*/
/**
* Initializes a new instance of this class.
*/
public DOMXMLSignatureFactory() {}
}
}
}
}
if (appliedTransforms == null) {
throw new NullPointerException("appliedTransforms cannot be null");
}
if (appliedTransforms.isEmpty()) {
throw new NullPointerException("appliedTransforms cannot be empty");
}
throw new NullPointerException("result cannot be null");
}
return new DOMReference
}
if (digestValue == null) {
throw new NullPointerException("digestValue cannot be null");
}
return new DOMReference
}
}
}
// Object factory methods
}
}
}
}
}
throws MarshalException {
throw new NullPointerException("context cannot be null");
}
}
throws MarshalException {
if (xmlStructure == null) {
throw new NullPointerException("xmlStructure cannot be null");
}
return unmarshal
null);
}
throws MarshalException {
} else {
throw new MarshalException
("Signature element is not a proper Node");
}
// check tag
throw new MarshalException("Document implementation must " +
"support DOM Level 2 and be namespace aware");
}
} else {
}
}
throw new NullPointerException();
} else {
return false;
}
}
throw new NullPointerException();
}
} else {
throw new NoSuchAlgorithmException("unsupported algorithm");
}
}
throw new NullPointerException();
}
} else {
throw new NoSuchAlgorithmException("unsupported algorithm");
}
}
try {
} catch (NoSuchAlgorithmException nsae) {
}
return new DOMTransform(spi);
}
try {
} catch (NoSuchAlgorithmException nsae) {
}
} else {
}
return new DOMTransform(spi);
}
try {
} catch (NoSuchAlgorithmException nsae) {
}
return new DOMCanonicalizationMethod(spi);
}
try {
} catch (NoSuchAlgorithmException nsae) {
}
} else {
}
return new DOMCanonicalizationMethod(spi);
}
return DOMURIDereferencer.INSTANCE;
}
}