public class VirgilChunkCipher extends VirgilCipherBase implements AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
static int |
kPreferredChunkSize |
swigCMemOwn| Modifier | Constructor and Description |
|---|---|
|
VirgilChunkCipher() |
protected |
VirgilChunkCipher(long cPtr,
boolean cMemoryOwn) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
delete() |
protected void |
finalize() |
void |
finish() |
protected static long |
getCPtr(VirgilChunkCipher obj) |
byte[] |
process(byte[] data) |
long |
startDecryptionWithKey(byte[] recipientId,
byte[] privateKey) |
long |
startDecryptionWithKey(byte[] recipientId,
byte[] privateKey,
byte[] privateKeyPassword) |
long |
startDecryptionWithPassword(byte[] pwd) |
long |
startEncryption() |
long |
startEncryption(long preferredChunkSize) |
addKeyRecipient, addPasswordRecipient, customParams, defineContentInfoSize, getContentInfo, getCPtr, removeAllRecipients, removeKeyRecipient, removePasswordRecipient, setContentInfoprotected VirgilChunkCipher(long cPtr,
boolean cMemoryOwn)
public VirgilChunkCipher()
protected static long getCPtr(VirgilChunkCipher obj)
protected void finalize()
finalize in class VirgilCipherBasepublic void delete()
delete in class VirgilCipherBasepublic void close()
close in interface AutoCloseableclose in class VirgilCipherBasepublic long startEncryption(long preferredChunkSize)
public long startEncryption()
public long startDecryptionWithKey(byte[] recipientId,
byte[] privateKey,
byte[] privateKeyPassword)
public long startDecryptionWithKey(byte[] recipientId,
byte[] privateKey)
public long startDecryptionWithPassword(byte[] pwd)
public byte[] process(byte[] data)
public void finish()
Copyright © 2016. All rights reserved.