| Modifier and Type | Class and Description |
|---|---|
static class |
ZMQ.Curve.KeyPair
A container for a public and a corresponding secret key
|
| Constructor and Description |
|---|
ZMQ.Curve() |
| Modifier and Type | Method and Description |
|---|---|
static ZMQ.Curve.KeyPair |
generateKeyPair()
Returns a newly generated random keypair consisting of a public key
and a secret key.
|
static byte[] |
z85Decode(String key)
The function shall decode given key encoded as Z85 string into byte array.
|
static String |
z85Encode(byte[] key)
The function shall encode the binary block specified into a string.
|
public static ZMQ.Curve.KeyPair generateKeyPair()
The keys are encoded using z85Encode(byte[]).
ZMQ.Curve.KeyPairpublic static byte[] z85Decode(String key)
The decoding shall follow the ZMQ RFC 32 specification.
key - Key to be decodedpublic static String z85Encode(byte[] key)
The encoding shall follow the ZMQ RFC 32 specification.
key - Key to be encodedCopyright © 2017. All rights reserved.