public class MasterKeys extends Object
| Constructor and Description |
|---|
MasterKeys() |
MasterKeys(byte[] k,
byte[] k_star) |
| Modifier and Type | Method and Description |
|---|---|
static MasterKeys |
fromJson(String json) |
byte[] |
getK_star() |
byte[] |
getK() |
String |
toJson()
This method is mostly used for local tests and serialization.
|
public MasterKeys()
public MasterKeys(byte[] k,
byte[] k_star)
public byte[] getK()
public byte[] getK_star()
public String toJson() throws CosmianException
CosmianException - if the serialization failspublic static MasterKeys fromJson(String json) throws CosmianException
CosmianExceptionCopyright © 2022. All rights reserved.