public class VirgilCardTemplate extends Object
publicKeyId or publicKey
parameter
token
parameter obtained from the Virgil Identity service
| Modifier and Type | Class and Description |
|---|---|
static class |
VirgilCardTemplate.Builder
Use this builder to construct
VirgilCardTemplate. |
| Constructor and Description |
|---|
VirgilCardTemplate() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getData()
Returns Virgil Card's data as key/value map.
|
Identity |
getIdentity()
Returns the Virgil identity associated with created card.
|
String |
getPublicKey()
Returns the public key.
|
String |
getPublicKeyId()
Returns the public key's identifier.
|
void |
setData(Map<String,String> data) |
void |
setIdentity(Identity identity)
Sets the Virgil identity associated with created card.
|
void |
setPublicKey(String publicKey)
Sets the public key.
|
void |
setPublicKeyId(String publicKeyId)
Sets the public key's identifier.
|
public String getPublicKeyId()
publicKeyId that holds the Public Key's ID.public void setPublicKeyId(String publicKeyId)
publicKeyId - the public key's identifierpublic String getPublicKey()
publicKeyBase64 string.public void setPublicKey(String publicKey)
publicKey - the public key as Base64 string.public Identity getIdentity()
identity stands for the the Virgil Card identity that can
have a type of 'email'public void setIdentity(Identity identity)
identity - the Virgil identity.public Map<String,String> getData()
Copyright © 2016. All rights reserved.