//appropriate errors.
//Next step do it more efficiently.
verifyRequirements(context,signature,validationContext);
SignaturePolicy policy =(SignaturePolicy) context.getSecurityPolicy();
dsigUtil.constructSignaturePolicy(signInfo, policy.isBSP(),currentMessagePolicy);
SignaturePolicyVerifier spv = new SignaturePolicyVerifier(context);
spv.verifyPolicy(policy,currentMessagePolicy);
if(logger.isLoggable(Level.FINEST)){
logger.log(Level.FINE,"Reciever Requirements are met");
}
}