| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class EncryptedAttribute extends AbstractSamlElement implements EncryptedElementInterface |
||
| 18 | { |
||
| 19 | use EncryptedElementTrait; |
||
|
1 ignored issue
–
show
|
|||
| 20 | |||
| 21 | |||
| 22 | public function getBlacklistedAlgorithms(): ?array |
||
| 24 | // return an array with the algorithms you don't want to allow to be used |
||
| 25 | } |
||
| 26 | |||
| 27 | |||
| 28 | public function getEncryptionBackend(): ?EncryptionBackend |
||
| 29 | { |
||
| 30 | // return the encryption backend you want to use, |
||
| 31 | // or null if you are fine with the default |
||
| 32 | } |
||
| 33 | |||
| 34 | |||
| 35 | /** |
||
| 36 | * @inheritDoc |
||
| 37 | * |
||
| 38 | * @return \SimpleSAML\SAML2\XML\saml\Attribute |
||
| 39 | * @throws \Exception |
||
| 40 | */ |
||
| 41 | public function decrypt(EncryptionAlgorithmInterface $decryptor): Attribute |
||
| 43 | // $attrXML = Security::decryptElement($this->encryptedData->toXML(), $key, $blacklist); |
||
| 44 | |||
| 48 |