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