| Package | Description |
|---|---|
| com.virgilsecurity.sdk.client | |
| com.virgilsecurity.sdk.client.http.interceptors | |
| com.virgilsecurity.sdk.client.utils | |
| 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.
|
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.
|
| 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 |
|---|---|
static String |
ValidationTokenGenerator.generate(String type,
String value,
PrivateKey privateKey,
Password privateKeyPassword)
Generates the validation token based on application's private key.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CipherBase.addPasswordRecipient(Password password)
Add password recipient to Cipher.
|
static void |
CryptoHelper.decrypt(InputStream inputStream,
OutputStream outputStream,
String recipientId,
PrivateKey privateKey,
Password password)
Decrypt encrypted data from stream with private key.
|
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.
|
void |
StreamCipher.decryptWithKey(InputStream inputStream,
OutputStream outputStream,
Recipient recipient,
PrivateKey privateKey,
Password privateKeyPassword)
Decrypt encrypted data from stream with key protected by password.
|
byte[] |
Cipher.decryptWithPassword(byte[] encryptedData,
Password password)
Decrypt data with password.
|
void |
StreamCipher.decryptWithPassword(InputStream inputStream,
OutputStream outputStream,
Password password)
Decrypt encrypted data from stream 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.