virgil_sdk.cards.card_signature module

class virgil_sdk.cards.card_signature.CardSignature(signer, signature, snapshot=None, extra_fields=None)[source]

Bases: object

CardSignature provides signature for Card.

property extra_fields

Get the custom fields associated with the signature.

Returns

Custom fields.

property signature

Get the generated digital signature.

Returns

Digital signature.

property signer

Gets the type of signer signature.

Returns

Type of signer signature.

property snapshot

Get the signature snapshot.

Returns

Signature snapshot.

to_json()[source]

Card signature json representation.

Returns

Serialize signature to json.