Converts the card in the form of ICard object to the RawSignedModel object.
Converts the card in the form of ICard object to the JSON-serializable object form.
Generates a RawSignedModel that represents a card from
cardParams
.
Use this method if you don't need to publish the card right away, for
example if you need to first send it to your backend server to apply
additional signature.
New card parameters.
Fetches the card by cardId
from the Virgil Card Service.
Id of the card to fetch.
Converts the card in the form of RawSignedModel object to the ICard object.
The card to convert.
Converts the card in the JSON-serializable object form to the ICard object.
Generates a card from cardParams
and publishes it in the Virgil Cards
Service.
New card parameters.
Publishes a previously generated card in the form of RawSignedModel object.
The card to publish.
Marks the Virgil Card specified by cardId
as revoked. Revoked cards will have isOutdated
property set to true
when retrieved via CardManager.getCard method.
Also revoked cards will be absent in the CardManager.searchCards result.
Id of the card to revoke.
Fetches collection of cards with the given identity
from the Virgil
Cards Service.
Identity or an array of identities of the cards to fetch.
Class responsible for creating, publishing and retrieving Virgil Cards.