| 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)
Create new Virgil Card.
|
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.
|
void |
PublicKeyClient.createCard(VirgilCardTemplate template,
PrivateKey privateKey,
ResponseCallback<VirgilCard> callback)
Create new Virgil Card asynchronously.
|
<S> S |
PublicKeyClient.createService(Class<S> serviceClass,
PrivateKey privateKey)
Create new instance of Retrofit service.
|
<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 signerCardId,
PrivateKey privateKey)
Revoke a Virgil Card endpoint.
|
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 |
PublicKeyClient.deleteCard(ValidatedIdentity identity,
String cardId,
PrivateKey privateKey,
VoidResponseCallback callback)
Revoke a Virgil Card endpoint.
|
void |
PrivateKeyClient.destroy(String virgilCardId,
PrivateKey privateKey)
Deletes the private key from service by specified card ID.
|
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.destroy(String virgilCardId,
PrivateKey privateKey,
VoidResponseCallback callback)
Deletes the private key from service by specified card ID.
|
void |
PrivateKeyClient.stash(String virgilCardId,
PrivateKey privateKey)
Uploads private key to private key store.
|
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 |
PrivateKeyClient.stash(String virgilCardId,
PrivateKey privateKey,
VoidResponseCallback callback)
Uploads private key to private key store.
|
| Constructor and Description |
|---|
RequestSignInterceptor(PrivateKey privateKey)
Create a new instance
|
RequestSignInterceptor(PrivateKey privateKey,
Password password)
Create a new instance
|
| Modifier and Type | Method and Description |
|---|---|
static String |
ValidationTokenGenerator.generate(String type,
String value,
PrivateKey privateKey)
Generates the validation token based on application's private key.
|
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 |
|---|---|
PrivateKey |
KeyPair.getPrivate()
Returns a reference to the private key component of this key pair.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
CryptoHelper.decrypt(InputStream inputStream,
OutputStream outputStream,
String recipientId,
PrivateKey privateKey)
Decrypt encrypted data from stream with private key.
|
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)
Decrypt text 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)
Decrypt data with private key.
|
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)
Decrypt encrypted data from stream with key protected by password.
|
void |
StreamCipher.decryptWithKey(InputStream inputStream,
OutputStream outputStream,
Recipient recipient,
PrivateKey privateKey,
Password privateKeyPassword)
Decrypt encrypted data from stream with key protected by password.
|
byte[] |
Signer.sign(byte[] data,
PrivateKey privateKey)
Sign data with private key.
|
byte[] |
Signer.sign(byte[] data,
PrivateKey privateKey,
Password privateKeyPassword)
Sign data with private key protected with password.
|
static String |
CryptoHelper.sign(InputStream inputStream,
PrivateKey privateKey)
Sign stream with private key.
|
static String |
CryptoHelper.sign(InputStream inputStream,
PrivateKey privateKey,
String keyPassword)
Sign stream with private key protected with password.
|
static String |
CryptoHelper.sign(String text,
PrivateKey privateKey)
Sign text with private key.
|
static String |
CryptoHelper.sign(String text,
PrivateKey privateKey,
Password password)
Sign text with private key.
|
static String |
CryptoHelper.signBase64(String base64string,
PrivateKey privateKey)
Sign Base64 encoded string with private key.
|
long |
ChunkCipher.startDecryptionWithKey(Recipient recipient,
PrivateKey privateKey)
Start decryption with private key.
|
long |
ChunkCipher.startDecryptionWithKey(Recipient recipient,
PrivateKey privateKey,
Password privateKeyPassword)
Start decryption with private key.
|
| Constructor and Description |
|---|
KeyPair(PublicKey publicKey,
PrivateKey privateKey)
Constructs a key pair from the given public key and private key.
|
Copyright © 2016. All rights reserved.