File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 19
19
import attr
20
20
import six
21
21
22
- from . import CryptoMaterialsCacheEntry
23
22
from ..exceptions import CacheKeyError , NotSupportedError
23
+ from . import CryptoMaterialsCacheEntry
24
24
from .base import CryptoMaterialsCache
25
25
26
26
_OPPORTUNISTIC_EVICTION_ROUNDS = 10
Original file line number Diff line number Diff line change 11
11
# ANY KIND, either express or implied. See the License for the specific
12
12
# language governing permissions and limitations under the License.
13
13
"""Null cache: a cache which does not cache."""
14
- from . import CryptoMaterialsCacheEntry
15
14
from ..exceptions import CacheKeyError
15
+ from . import CryptoMaterialsCacheEntry
16
16
from .base import CryptoMaterialsCache
17
17
18
18
Original file line number Diff line number Diff line change 17
17
import attr
18
18
import six
19
19
20
- from . import EncryptionMaterialsRequest
21
20
from ..caches import (
22
21
CryptoMaterialsCacheEntryHints ,
23
22
build_decryption_materials_cache_key ,
28
27
from ..internal .defaults import MAX_BYTES_PER_KEY , MAX_MESSAGES_PER_KEY
29
28
from ..internal .str_ops import to_bytes
30
29
from ..key_providers .base import MasterKeyProvider
30
+ from . import EncryptionMaterialsRequest
31
31
from .base import CryptoMaterialsManager
32
32
from .default import DefaultCryptoMaterialsManager
33
33
Original file line number Diff line number Diff line change 15
15
16
16
import attr
17
17
18
- from . import DecryptionMaterials , EncryptionMaterials
19
18
from ..exceptions import MasterKeyProviderError , SerializationError
20
19
from ..internal .crypto .authentication import Signer , Verifier
21
20
from ..internal .crypto .elliptic_curve import generate_ecc_signing_key
22
21
from ..internal .defaults import ALGORITHM , ENCODED_SIGNER_KEY
23
22
from ..internal .str_ops import to_str
24
23
from ..internal .utils import prepare_data_keys
25
24
from ..key_providers .base import MasterKeyProvider
25
+ from . import DecryptionMaterials , EncryptionMaterials
26
26
from .base import CryptoMaterialsManager
27
27
28
28
_LOGGER = logging .getLogger (__name__ )
You can’t perform that action at this time.
0 commit comments