Class PrivateKey
- java.lang.Object
-
- com.syntifi.near.api.common.model.key.KeySig
-
- com.syntifi.near.api.common.model.key.PrivateKey
-
public class PrivateKey extends KeySig
Holds a Near PrivateKey- Since:
- 0.0.1
- Author:
- Alexandre Carvalho, Andre Bertolace
-
-
Constructor Summary
Constructors Constructor Description PrivateKey()
PrivateKey(KeyType keyType, byte[] data)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getJsonPrivateKey()
com.syntifi.crypto.key.AbstractPrivateKey
getPrivateKey()
static PrivateKey
getPrivateKeyFromJson(java.lang.String base58String)
-
Methods inherited from class com.syntifi.near.api.common.model.key.KeySig
fromEncodedBase58String, toEncodedBase58String, toString
-
-
-
-
Constructor Detail
-
PrivateKey
public PrivateKey()
-
PrivateKey
public PrivateKey(KeyType keyType, byte[] data)
-
-
Method Detail
-
getPrivateKey
public com.syntifi.crypto.key.AbstractPrivateKey getPrivateKey()
-
getPrivateKeyFromJson
public static PrivateKey getPrivateKeyFromJson(java.lang.String base58String)
-
getJsonPrivateKey
public java.lang.String getJsonPrivateKey()
-
-