Jose\DecrypterInterface::getSupportedContentEncryptionAlgorithms PHP Method

getSupportedContentEncryptionAlgorithms() public method

public getSupportedContentEncryptionAlgorithms ( ) : string[]
return string[]
    public function getSupportedContentEncryptionAlgorithms();

Usage Example

Example #1
0
 /**
  * {@inheritdoc}
  */
 public function getSupportedContentEncryptionAlgorithms()
 {
     return false === $this->isDecryptionSupportEnabled() ? [] : $this->decrypter->getSupportedContentEncryptionAlgorithms();
 }