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