virgil_crypto.errors.virgil_crypto_error module¶
-
exception
virgil_crypto.errors.virgil_crypto_error.
VirgilCryptoError
(message)[source]¶ Bases:
Exception
-
class
virgil_crypto.errors.virgil_crypto_error.
VirgilCryptoErrors
[source]¶ Bases:
object
-
INPUT_STREAM_ERROR
= VirgilCryptoError('Output stream has no space left')¶
-
INVALID_SEED_SIZE
= VirgilCryptoError('Invalid seed size')¶
-
KEY_DOESNT_SUPPORT_SIGNING
= VirgilCryptoError("Key doesn't support signing")¶
-
OUTPUT_STREAM_ERROR
= VirgilCryptoError('Output stream has no space left')¶
-
PASSED_KEY_IS_NOT_VIRGIL
= VirgilCryptoError('Passed key is not virgil')¶
-
RSA_SHOULD_BE_CONSTRUCTED_DIRECTLY
= VirgilCryptoError('Rsa should be constructed directly')¶
-
SIGNATURE_NOT_FOUND
= VirgilCryptoError('Signature not found')¶
-
SIGNATURE_NOT_VERIFIED
= VirgilCryptoError('Signature not verified')¶
-
SIGNER_NOT_FOUND
= VirgilCryptoError('Signer not found')¶
-
UNKNOWN_ALG_ID
= VirgilCryptoError('Unknown alg id')¶
-
UNSUPPORTED_RSA_LENGTH
= VirgilCryptoError('Unsupported rsa length')¶
-