*/
protected void checkParamsRaw(byte[] signature, byte[] content, String algorithmURI, CriteriaSet trustBasisCriteria)
throws SecurityException {
if (signature == null || signature.length == 0) {
throw new SecurityException("Signature byte array was null or empty");
}
if (content == null || content.length == 0) {
throw new SecurityException("Content byte array was null or empty");
}
if (DatatypeHelper.isEmpty(algorithmURI)) {
throw new SecurityException("Signature algorithm was null or empty");
}
if (trustBasisCriteria == null) {
throw new SecurityException("Trust basis criteria set was null");
}
if (trustBasisCriteria.isEmpty()) {
throw new SecurityException("Trust basis criteria set was empty");
}
}