Skip to content

Commit ad6282d

Browse files
committed
Change algorithm blacklists to public constants
1 parent 5977734 commit ad6282d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Alg/Encryption/EncryptionAlgorithmFactory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ final class EncryptionAlgorithmFactory
4242
*
4343
* @var string[]
4444
*/
45-
private const DEFAULT_BLACKLIST = [
45+
public const DEFAULT_BLACKLIST = [
4646
C::BLOCK_ENC_3DES,
4747
];
4848

src/Alg/KeyTransport/KeyTransportAlgorithmFactory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class KeyTransportAlgorithmFactory
4040
*
4141
* @var string[]
4242
*/
43-
private const DEFAULT_BLACKLIST = [
43+
public const DEFAULT_BLACKLIST = [
4444
C::KEY_TRANSPORT_RSA_1_5,
4545
];
4646

src/Alg/Signature/SignatureAlgorithmFactory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ final class SignatureAlgorithmFactory
4242
*
4343
* @var string[]
4444
*/
45-
private const DEFAULT_BLACKLIST = [
45+
public const DEFAULT_BLACKLIST = [
4646
C::SIG_RSA_SHA1,
4747
C::SIG_HMAC_SHA1,
4848
];

0 commit comments

Comments
 (0)