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 booleancanEqual(java.lang.Object other)voidcreateKey(java.lang.String key)booleanequals(java.lang.Object o)static KeyfromTaggedHexString(java.lang.String hex)inthashCode()-
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:
equalsin classAbstractSerializedKeyTaggedHex<KeyTag>
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqualin classAbstractSerializedKeyTaggedHex<KeyTag>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractSerializedKeyTaggedHex<KeyTag>
-
-