Package com.syntifi.near.api.model.key
Class PrivateKey
- java.lang.Object
-
- com.syntifi.near.api.model.key.KeySig
-
- com.syntifi.near.api.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
getJsonPublicKey()
com.syntifi.crypto.key.AbstractPrivateKey
getPrivateKey()
static PrivateKey
getPublicKeyFromJson(java.lang.String base58String)
-
Methods inherited from class com.syntifi.near.api.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()
-
getPublicKeyFromJson
public static PrivateKey getPublicKeyFromJson(java.lang.String base58String)
-
getJsonPublicKey
public java.lang.String getJsonPublicKey()
-
-