public class VirgilStreamCipher extends VirgilCipherBase implements AutoCloseable
swigCMemOwn| Modifier | Constructor and Description |
|---|---|
|
VirgilStreamCipher() |
protected |
VirgilStreamCipher(long cPtr,
boolean cMemoryOwn) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
decryptWithKey(VirgilDataSource source,
VirgilDataSink sink,
byte[] recipientId,
byte[] privateKey) |
void |
decryptWithKey(VirgilDataSource source,
VirgilDataSink sink,
byte[] recipientId,
byte[] privateKey,
byte[] privateKeyPassword) |
void |
decryptWithPassword(VirgilDataSource source,
VirgilDataSink sink,
byte[] pwd) |
void |
delete() |
void |
encrypt(VirgilDataSource source,
VirgilDataSink sink) |
void |
encrypt(VirgilDataSource source,
VirgilDataSink sink,
boolean embedContentInfo) |
protected void |
finalize() |
protected static long |
getCPtr(VirgilStreamCipher obj) |
addKeyRecipient, addPasswordRecipient, customParams, defineContentInfoSize, getContentInfo, getCPtr, removeAllRecipients, removeKeyRecipient, removePasswordRecipient, setContentInfoprotected VirgilStreamCipher(long cPtr,
boolean cMemoryOwn)
public VirgilStreamCipher()
protected static long getCPtr(VirgilStreamCipher obj)
protected void finalize()
finalize in class VirgilCipherBasepublic void delete()
delete in class VirgilCipherBasepublic void close()
close in interface AutoCloseableclose in class VirgilCipherBasepublic void encrypt(VirgilDataSource source, VirgilDataSink sink, boolean embedContentInfo)
public void encrypt(VirgilDataSource source, VirgilDataSink sink)
public void decryptWithKey(VirgilDataSource source, VirgilDataSink sink, byte[] recipientId, byte[] privateKey, byte[] privateKeyPassword)
public void decryptWithKey(VirgilDataSource source, VirgilDataSink sink, byte[] recipientId, byte[] privateKey)
public void decryptWithPassword(VirgilDataSource source, VirgilDataSink sink, byte[] pwd)
Copyright © 2016. All rights reserved.