log.debug("passing signed response to trust layer");
if (!t.validate(*bpr.response,role)) {
bpr.clear();
+ log.error("unable to verify signed profile response");
TrustException ex("unable to verify signed profile response");
annotateException(&ex,role); // throws it
}
log.debug("passing signed authentication assertion to trust layer");
if (!t.validate(*bpr.assertion,role)) {
bpr.clear();
+ log.error("unable to verify signed authentication assertion");
TrustException ex("unable to verify signed authentication assertion");
annotateException(&ex,role); // throws it
}