| Package | Description |
|---|---|
| com.virgilsecurity.sdk.client.http.interceptors | |
| com.virgilsecurity.sdk.client.model.publickey | |
| com.virgilsecurity.sdk.crypto |
| Constructor and Description |
|---|
RequestBodyEncodeInterceptor(String recipientId,
PublicKey publicKey)
Create a new instance of
RequestBodyEncodeInterceptor |
| Modifier and Type | Method and Description |
|---|---|
VirgilCardTemplate.Builder |
VirgilCardTemplate.Builder.setPublicKey(PublicKey publicKey)
Set public key.
|
| Modifier and Type | Method and Description |
|---|---|
PublicKey |
KeyPair.getPublic()
Returns a reference to the public key component of this key pair.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CipherBase.addKeyRecipient(Recipient recipient,
PublicKey publicKey)
Add key recipient to Cipher.
|
void |
CipherBase.addKeyRecipient(String recipientId,
PublicKey publicKey)
Add key recipient to Cipher.
|
static void |
CryptoHelper.encrypt(InputStream inputStream,
OutputStream outputStream,
String recipientId,
PublicKey publicKey)
Encrypt stream data with password.
|
static String |
CryptoHelper.encrypt(String text,
String recipientId,
PublicKey publicKey)
Encrypt text with public key.
|
boolean |
Signer.verify(byte[] data,
byte[] sign,
PublicKey publicKey)
Verify data with signature.
|
static boolean |
CryptoHelper.verify(InputStream inputStream,
String signature,
PublicKey publicKey)
Verify stream data with signature.
|
static boolean |
CryptoHelper.verify(String text,
String signature,
PublicKey publicKey)
Verify text with signature.
|
static boolean |
CryptoHelper.verifyBase64(String base64string,
String signature,
PublicKey publicKey)
Verify Base664 encoded string with signature.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
CryptoHelper.encrypt(String text,
Map<String,PublicKey> recipients)
Encrypt text with public key for multiple recipients.
|
| 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.