Package com.syntifi.casper.sdk.model.key
Class Key
- java.lang.Object
-
- com.syntifi.casper.sdk.model.key.AbstractSerializedKeyTaggedHex<KeyTag>
-
- com.syntifi.casper.sdk.model.key.Key
-
- All Implemented Interfaces:
EncodableValue
public class Key extends AbstractSerializedKeyTaggedHex<KeyTag>
Hex-encoded key, including the tag info.- Since:
- 0.0.1
-
-
Constructor Summary
Constructors Constructor Description Key()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
void
createKey(java.lang.String key)
boolean
equals(java.lang.Object o)
static Key
fromTaggedHexString(java.lang.String hex)
int
hashCode()
-
Methods inherited from class com.syntifi.casper.sdk.model.key.AbstractSerializedKeyTaggedHex
encode, getAlgoTaggedHex, getKey, getTag, setKey, setTag
-
-
-
-
Method Detail
-
fromTaggedHexString
public static Key fromTaggedHexString(java.lang.String hex) throws NoSuchKeyTagException, InvalidByteStringException
-
createKey
public void createKey(java.lang.String key) throws NoSuchKeyTagException, InvalidByteStringException
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classAbstractSerializedKeyTaggedHex<KeyTag>
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqual
in classAbstractSerializedKeyTaggedHex<KeyTag>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractSerializedKeyTaggedHex<KeyTag>
-
-