public class VirgilCipherBase extends Object implements AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Modifier | Constructor and Description |
|---|---|
|
VirgilCipherBase() |
protected |
VirgilCipherBase(long cPtr,
boolean cMemoryOwn) |
| Modifier and Type | Method and Description |
|---|---|
void |
addKeyRecipient(byte[] recipientId,
byte[] publicKey) |
void |
addPasswordRecipient(byte[] pwd) |
void |
close() |
VirgilCustomParams |
customParams() |
static long |
defineContentInfoSize(byte[] data) |
void |
delete() |
protected void |
finalize() |
byte[] |
getContentInfo() |
protected static long |
getCPtr(VirgilCipherBase obj) |
void |
removeAllRecipients() |
void |
removeKeyRecipient(byte[] recipientId) |
void |
removePasswordRecipient(byte[] pwd) |
void |
setContentInfo(byte[] contentInfo) |
protected VirgilCipherBase(long cPtr,
boolean cMemoryOwn)
public VirgilCipherBase()
protected static long getCPtr(VirgilCipherBase obj)
public void delete()
public void close()
close in interface AutoCloseablepublic void addKeyRecipient(byte[] recipientId,
byte[] publicKey)
public void removeKeyRecipient(byte[] recipientId)
public void addPasswordRecipient(byte[] pwd)
public void removePasswordRecipient(byte[] pwd)
public void removeAllRecipients()
public byte[] getContentInfo()
public void setContentInfo(byte[] contentInfo)
public static long defineContentInfoSize(byte[] data)
public VirgilCustomParams customParams()
Copyright © 2016. All rights reserved.