public interface ZPrivateKey
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] data)
Decrypts the given byte array.
|
byte[] |
encode()
Encodes this key in binary form.
|
ZSymmetricKey |
makeKey(ZPublicKey otherPartyPublicKey)
Combines this key with a public key to generate a symmetric key.
|
byte[] |
sign(byte[] data)
Creates a signature for the given data.
|
byte[] encode()
ZSymmetricKey makeKey(ZPublicKey otherPartyPublicKey)
otherPartyPublicKey - public key of the communicating partybyte[] decrypt(byte[] data)
data - encrypted databyte[] sign(byte[] data)
data - data to be signed