Represents content of Virgil Card.
More...
#include <RawCardContent.h>
Represents content of Virgil Card.
virgil::sdk::client::models::RawCardContent::RawCardContent |
( |
std::string |
identity, |
|
|
VirgilByteArray |
publicKey, |
|
|
std::time_t |
createdAt, |
|
|
std::string |
previousCardId = std::string() , |
|
|
std::string |
version = "5.0" |
|
) |
| |
Constructor.
- Parameters
-
identity | identity of Card |
publicKey | PublicKey data of Card |
createdAt | std::time with date of Card creation |
previousCardId | identifier of previous Card with same identity |
version | version of Card |
std::time_t virgil::sdk::client::models::RawCardContent::createdAt |
( |
| ) |
const |
Getter.
- Returns
- std::time with date of Card creation
const std::string& virgil::sdk::client::models::RawCardContent::identity |
( |
| ) |
const |
Getter.
- Returns
- identity of Card
static RawCardContent virgil::sdk::client::models::RawCardContent::parse |
( |
const VirgilByteArray & |
snapshot | ) |
|
|
static |
const std::string& virgil::sdk::client::models::RawCardContent::previousCardId |
( |
| ) |
const |
Getter.
- Returns
- identifier of previous Card with same identity
const VirgilByteArray& virgil::sdk::client::models::RawCardContent::publicKey |
( |
| ) |
const |
Getter.
- Returns
- PublicKey data of Card
VirgilByteArray virgil::sdk::client::models::RawCardContent::snapshot |
( |
| ) |
const |
const std::string& virgil::sdk::client::models::RawCardContent::version |
( |
| ) |
const |
Getter.
- Returns
- version of Card
The documentation for this class was generated from the following file: