use of org.opensaml.xmlsec.impl.BasicDecryptionParametersResolver in project cas by apereo.
the class SamlIdPObjectEncrypter method resolveDecryptionParameters.
/**
* Resolve decryption parameters decryption parameters.
*
* @param service the service
* @param decryptionConfiguration the decryption configuration
* @return the decryption parameters
* @throws ResolverException the resolver exception
*/
protected DecryptionParameters resolveDecryptionParameters(final SamlRegisteredService service, final BasicDecryptionConfiguration decryptionConfiguration) throws ResolverException {
val criteria = new CriteriaSet();
criteria.add(new DecryptionConfigurationCriterion(decryptionConfiguration));
return new BasicDecryptionParametersResolver().resolveSingle(criteria);
}
Aggregations