File tree Expand file tree Collapse file tree 2 files changed +5
-19
lines changed
azure-keyvault-administration/azure/keyvault/administration/_internal
azure-keyvault-keys/azure/keyvault/keys/crypto Expand file tree Collapse file tree 2 files changed +5
-19
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33# Licensed under the MIT License.
44# ------------------------------------
55from enum import Enum
6+ from azure .core import CaseInsensitiveEnumMeta
67
7-
8- class KeyWrapAlgorithm (str , Enum ):
8+ # pylint: disable=enum-must-be-uppercase
9+ class KeyWrapAlgorithm (str , Enum , metaclass = CaseInsensitiveEnumMeta ):
910 """Key wrapping algorithms"""
1011
1112 aes_128 = "A128KW"
@@ -16,7 +17,7 @@ class KeyWrapAlgorithm(str, Enum):
1617 rsa1_5 = "RSA1_5"
1718
1819
19- class EncryptionAlgorithm (str , Enum ):
20+ class EncryptionAlgorithm (str , Enum , metaclass = CaseInsensitiveEnumMeta ):
2021 """Encryption algorithms"""
2122
2223 rsa_oaep = "RSA-OAEP"
@@ -33,7 +34,7 @@ class EncryptionAlgorithm(str, Enum):
3334 a256_cbcpad = "A256CBCPAD"
3435
3536
36- class SignatureAlgorithm (str , Enum ):
37+ class SignatureAlgorithm (str , Enum , metaclass = CaseInsensitiveEnumMeta ):
3738 """Signature algorithms, described in https://tools.ietf.org/html/rfc7518"""
3839
3940 ps256 = "PS256" #: RSASSA-PSS using SHA-256 and MGF1 with SHA-256
You can’t perform that action at this time.
0 commit comments