virgil_sdk.storage package¶
Submodules¶
virgil_sdk.storage.key_entry module¶
virgil_sdk.storage.key_storage module¶
-
class
virgil_sdk.storage.key_storage.
KeyStorage
[source]¶ Bases:
object
The provides protected storage using the user credentials to encrypt or decrypt keys.
-
delete
(name)[source]¶ Checks if the given alias exists in this keystore.
Parameters: name – key name in storage Raises: IOError if cannot find key file in storage folder
-
virgil_sdk.storage.private_key_storage module¶
-
class
virgil_sdk.storage.private_key_storage.
PrivateKeyStorage
(key_storage=<virgil_sdk.storage.key_storage.KeyStorage object>, key_exporter=<virgil_crypto.private_key_exporter.PrivateKeyExporter object>)[source]¶ Bases:
object
-
delete
(name)[source]¶ Checks if the given alias exists in this storage and delete it.
Parameters: name – Key alias in storage.
-