virgil_sdk.verification package¶
Submodules¶
virgil_sdk.verification.card_verification_exception module¶
virgil_sdk.verification.card_verifier module¶
virgil_sdk.verification.verifier_credentials module¶
virgil_sdk.verification.virgil_card_verifier module¶
-
class
virgil_sdk.verification.virgil_card_verifier.
VirgilCardVerifier
(crypto, verify_self_signature=True, verify_virgil_signature=True, white_lists=[])[source]¶ Bases:
virgil_sdk.verification.card_verifier.CardVerifier
The VirgilCardVerifier represents card verification process.
-
verify_card
(card)[source]¶ To verify the specified card.
To set up rule for verification of self signature use verify_self_signature. To set up rule for verification of virgil service signature use verify_virgil_signature. To set up Whitelists use white_lists.
Parameters: card – The instance of Card to verify. Returns: True is card is verified according to set rules, otherwise False.
-
white_lists
¶ Get white lists.
-
virgil_sdk.verification.white_list module¶
-
class
virgil_sdk.verification.white_list.
WhiteList
[source]¶ Bases:
object
The Whitelist implements a collection of VerifierCredentials that is used for card verification in VirgilCardVerifier.
-
verifiers_credentials
¶ The collection of VerifierCredentials that is used for card verification in VirgilCardVerifier.
-