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.

property white_lists

Get white lists.