public function isAssertionEncryptionRequired()
{
return $this->get('assertionEncryptionEnabled');
}
/** * Allows for checking whether either the SP or the IdP requires assertion encryption */ public function isEncryptionRequired() { return $this->identityProvider->isAssertionEncryptionRequired() || $this->serviceProvider->isAssertionEncryptionRequired(); }