Package com.syntifi.casper.sdk.model.key
Class PublicKey
- java.lang.Object
-
- com.syntifi.casper.sdk.model.key.AbstractSerializedKeyTaggedHex<AlgorithmTag>
-
- com.syntifi.casper.sdk.model.key.PublicKey
-
public class PublicKey extends AbstractSerializedKeyTaggedHex<AlgorithmTag>
Hex-encoded cryptographic public key, including the algorithm tag prefix.- Since:
- 0.0.1
-
-
Constructor Summary
Constructors Constructor Description PublicKey()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createPublicKey(java.lang.String key)
static PublicKey
fromTaggedHexString(java.lang.String hex)
-
Methods inherited from class com.syntifi.casper.sdk.model.key.AbstractSerializedKeyTaggedHex
canEqual, equals, getAlgoTaggedHex, getKey, getTag, hashCode, setKey, setTag, toString
-
-
-
-
Method Detail
-
fromTaggedHexString
public static PublicKey fromTaggedHexString(java.lang.String hex) throws java.security.NoSuchAlgorithmException, InvalidByteStringException
- Throws:
java.security.NoSuchAlgorithmException
InvalidByteStringException
-
createPublicKey
public void createPublicKey(java.lang.String key) throws java.security.NoSuchAlgorithmException, InvalidByteStringException
- Throws:
java.security.NoSuchAlgorithmException
InvalidByteStringException
-
-