| Package | Description |
|---|---|
| com.virgilsecurity.sdk.client | |
| com.virgilsecurity.sdk.client.http.interceptors | |
| com.virgilsecurity.sdk.crypto |
| Modifier and Type | Method and Description |
|---|---|
VirgilCard |
PublicKeyClient.createCard(VirgilCardTemplate template,
PrivateKey privateKey,
Password password)
Create new Virgil Card.
|
void |
PublicKeyClient.createCard(VirgilCardTemplate template,
PrivateKey privateKey,
Password password,
ResponseCallback<VirgilCard> callback)
Create new Virgil Card asynchronously.
|
<S> S |
PublicKeyClient.createService(Class<S> serviceClass,
PrivateKey privateKey,
Password password)
Create new instance of Retrofit service.
|
<S> S |
PrivateKeyClient.createService(Class<S> serviceClass,
PrivateKey privateKey,
Password privateKeyPassword,
Password responsePassword)
Create new instance of Retrofit service.
|
void |
PublicKeyClient.deleteCard(ValidatedIdentity identity,
String cardId,
PrivateKey privateKey,
Password password)
Revoke a Virgil Card endpoint.
|
void |
PublicKeyClient.deleteCard(ValidatedIdentity identity,
String cardId,
PrivateKey privateKey,
Password password,
VoidResponseCallback callback)
Revoke a Virgil Card endpoint.
|
void |
PrivateKeyClient.destroy(String virgilCardId,
PrivateKey privateKey,
Password password)
Deletes the private key from service by specified card ID.
|
void |
PrivateKeyClient.destroy(String virgilCardId,
PrivateKey privateKey,
Password password,
VoidResponseCallback callback)
Deletes the private key from service by specified card ID.
|
List<VirgilCard> |
PublicKeyClient.search(SearchCriteria searchCriteria,
PrivateKey privateKey,
Password password)
Performs the search by search criteria.
|
void |
PublicKeyClient.search(SearchCriteria searchCriteria,
PrivateKey privateKey,
Password password,
ResponseCallback<List<VirgilCard>> callback)
Performs the asynchronous search by search criteria.
|
List<VirgilCard> |
PublicKeyClient.searchApp(SearchCriteria searchCriteria,
PrivateKey privateKey,
Password password)
Performs the global search for the applications' Virgil Cards.
|
void |
PublicKeyClient.searchApp(SearchCriteria searchCriteria,
PrivateKey privateKey,
Password password,
ResponseCallback<List<VirgilCard>> callback)
Performs the global search for the applications' Virgil Cards.
|
SignResponse |
PublicKeyClient.signCard(String signedCardId,
String signedCardHash,
String signerCardId,
PrivateKey privateKey,
Password password)
Signs another Virgil Card addressed in the request to share the
information for the signed Virgil Card.
|
void |
PublicKeyClient.signCard(String signedCardId,
String signedCardHash,
String signerCardId,
PrivateKey privateKey,
Password password,
ResponseCallback<SignResponse> callback)
Signs another Virgil Card addressed in the request to share the
information for the signed Virgil Card.
|
void |
PrivateKeyClient.stash(String virgilCardId,
PrivateKey privateKey,
Password password)
Uploads private key to private key store.
|
void |
PrivateKeyClient.stash(String virgilCardId,
PrivateKey privateKey,
Password password,
VoidResponseCallback callback)
Uploads private key to private key store.
|
void |
PublicKeyClient.unsignCard(String signedCardId,
String signerCardId,
PrivateKey privateKey,
Password password)
Removes the Sign of another Virgil Card.
|
void |
PublicKeyClient.unsignCard(String signedCardId,
String signerCardId,
PrivateKey privateKey,
Password password,
VoidResponseCallback callback)
Removes the Sign of another Virgil Card.
|
| Constructor and Description |
|---|
RequestSignInterceptor(PrivateKey privateKey,
Password password)
Create a new instance
|
ResponseBodyDecodeInterceptor(Password password)
Create a new instance of
ResponseBodyDecodeInterceptor |
| Modifier and Type | Method and Description |
|---|---|
void |
CipherBase.addPasswordRecipient(Password password)
Add password recipient to Cipher.
|
static String |
CryptoHelper.decrypt(String base64Text,
String recipientId,
PrivateKey privateKey,
Password password)
Decrypt text with private key which protected with password.
|
byte[] |
Cipher.decryptWithKey(byte[] encryptedData,
Recipient recipient,
PrivateKey privateKey,
Password privateKeyPassword)
Decrypt data with private key.
|
byte[] |
Cipher.decryptWithPassword(byte[] encryptedData,
Password password)
Decrypt data with password.
|
static KeyPair |
KeyPairGenerator.generate(KeyType keyType,
Password password)
Generate key pair by Type.
|
void |
CipherBase.removePasswordRecipient(Password password)
Remove password recipient from Cipher.
|
byte[] |
Signer.sign(byte[] data,
PrivateKey privateKey,
Password privateKeyPassword)
Sign data with private key protected with password.
|
static String |
CryptoHelper.sign(String text,
PrivateKey privateKey,
Password password)
Sign text with private key.
|
long |
ChunkCipher.startDecryptionWithKey(Recipient recipient,
PrivateKey privateKey,
Password privateKeyPassword)
Start decryption with private key.
|
long |
ChunkCipher.startDecryptionWithPassword(Password password)
Start decryption with password.
|
Copyright © 2016. All rights reserved.