Skip to content

Commit

Permalink
Change algorithm blacklists to public constants
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Jul 29, 2024
1 parent 5977734 commit ad6282d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Alg/Encryption/EncryptionAlgorithmFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ final class EncryptionAlgorithmFactory
*
* @var string[]
*/
private const DEFAULT_BLACKLIST = [
public const DEFAULT_BLACKLIST = [
C::BLOCK_ENC_3DES,
];

Expand Down
2 changes: 1 addition & 1 deletion src/Alg/KeyTransport/KeyTransportAlgorithmFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class KeyTransportAlgorithmFactory
*
* @var string[]
*/
private const DEFAULT_BLACKLIST = [
public const DEFAULT_BLACKLIST = [
C::KEY_TRANSPORT_RSA_1_5,
];

Expand Down
2 changes: 1 addition & 1 deletion src/Alg/Signature/SignatureAlgorithmFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ final class SignatureAlgorithmFactory
*
* @var string[]
*/
private const DEFAULT_BLACKLIST = [
public const DEFAULT_BLACKLIST = [
C::SIG_RSA_SHA1,
C::SIG_HMAC_SHA1,
];
Expand Down

0 comments on commit ad6282d

Please sign in to comment.