public class VirgilPrivateKey extends Object implements PrivateKey, Serializable
VirgilCrypto,
VirgilPublicKey,
Serialized Form| Constructor and Description |
|---|
VirgilPrivateKey()
Create a new instance of
VirgilPrivateKey |
VirgilPrivateKey(byte[] id,
byte[] value)
Create a new instance of
VirgilPrivateKey |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getId()
Get the receiver identifier.
|
byte[] |
getValue()
Get the Private key value.
|
void |
setId(byte[] id) |
void |
setValue(byte[] value) |
public VirgilPrivateKey()
VirgilPrivateKeypublic VirgilPrivateKey(byte[] id,
byte[] value)
VirgilPrivateKeyid - the key identifier.value - the key value.public byte[] getId()
PrivateKeygetId in interface PrivateKeypublic void setId(byte[] id)
id - the id to set.public byte[] getValue()
PrivateKeygetValue in interface PrivateKeypublic void setValue(byte[] value)
value - the value to setCopyright © 2016. All rights reserved.