Class KeyDeserializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonDeserializer<T>
-
- com.syntifi.casper.sdk.jackson.deserializer.AbstractSerializedKeyTaggedHexDeserializer<Key,KeyTag>
-
- com.syntifi.casper.sdk.jackson.deserializer.KeyDeserializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
public class KeyDeserializer extends AbstractSerializedKeyTaggedHexDeserializer<Key,KeyTag>
Customize the mapping of Casper's PublicKey- Since:
- 0.0.1
-
-
Constructor Summary
Constructors Constructor Description KeyDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Key
getInstanceOf()
protected void
loadKey(Key key, byte[] bytes)
-
Methods inherited from class com.syntifi.casper.sdk.jackson.deserializer.AbstractSerializedKeyTaggedHexDeserializer
deserialize
-
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
-
-
-
Method Detail
-
getInstanceOf
protected Key getInstanceOf()
- Specified by:
getInstanceOf
in classAbstractSerializedKeyTaggedHexDeserializer<Key,KeyTag>
-
loadKey
protected void loadKey(Key key, byte[] bytes) throws NoSuchKeyTagException
- Specified by:
loadKey
in classAbstractSerializedKeyTaggedHexDeserializer<Key,KeyTag>
- Throws:
NoSuchKeyTagException
-
-