public class CreateCardRequest extends SignedRequest
signatures, snapshot| Constructor and Description |
|---|
CreateCardRequest(String identity,
String identityType,
byte[] publicKey)
Create a new instance of
CreateCardRequest |
CreateCardRequest(String identity,
String identityType,
byte[] publicKey,
Map<String,String> data)
Create a new instance of
CreateCardRequest |
CreateCardRequest(String identity,
String identityType,
byte[] publicKey,
Map<String,String> data,
DeviceInfo info)
Create a new instance of
CreateCardRequest |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getData() |
String |
getIdentity() |
String |
getIdentityType() |
DeviceInfo |
getInfo() |
String |
getPublicKey() |
protected void |
restoreRequest(String snapshot,
Map<String,String> signatures)
Restores the request from snapshot.
|
protected String |
takeSnapshot()
Takes the request snapshot.
|
appendSignature, export, getSignatures, getSnapshot, importRequestpublic CreateCardRequest(String identity, String identityType, byte[] publicKey)
CreateCardRequestidentity - The identity.identityType - The identity type.publicKey - The public key DER.public CreateCardRequest(String identity, String identityType, byte[] publicKey, Map<String,String> data)
CreateCardRequestidentity - The identity.identityType - The identity type.publicKey - The public key DER.data - The card meta.public CreateCardRequest(String identity, String identityType, byte[] publicKey, Map<String,String> data, DeviceInfo info)
CreateCardRequestidentity - The identity.identityType - The identity type.publicKey - The public key DER.data - The card meta.info - The device info.protected void restoreRequest(String snapshot, Map<String,String> signatures)
SignedRequestrestoreRequest in class SignedRequestsnapshot - the request snapshot.signatures - the request signatures.protected String takeSnapshot()
SignedRequesttakeSnapshot in class SignedRequestpublic String getIdentity()
public String getIdentityType()
public String getPublicKey()
public DeviceInfo getInfo()
Copyright © 2016. All rights reserved.