public class VirgilStreamSigner extends Object implements AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Modifier | Constructor and Description |
|---|---|
|
VirgilStreamSigner() |
protected |
VirgilStreamSigner(long cPtr,
boolean cMemoryOwn) |
|
VirgilStreamSigner(VirgilHash hash) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
delete() |
protected void |
finalize() |
protected static long |
getCPtr(VirgilStreamSigner obj) |
byte[] |
sign(VirgilDataSource source,
byte[] privateKey) |
byte[] |
sign(VirgilDataSource source,
byte[] privateKey,
byte[] privateKeyPassword) |
boolean |
verify(VirgilDataSource source,
byte[] sign,
byte[] publicKey) |
protected VirgilStreamSigner(long cPtr,
boolean cMemoryOwn)
public VirgilStreamSigner(VirgilHash hash)
public VirgilStreamSigner()
protected static long getCPtr(VirgilStreamSigner obj)
public void delete()
public void close()
close in interface AutoCloseablepublic byte[] sign(VirgilDataSource source, byte[] privateKey, byte[] privateKeyPassword)
public byte[] sign(VirgilDataSource source, byte[] privateKey)
public boolean verify(VirgilDataSource source, byte[] sign, byte[] publicKey)
Copyright © 2016. All rights reserved.