Class SigTimeStampDecoder<T extends SignatureTimeStamp>
java.lang.Object
br.ufsc.labsec.parser.jades.decoder.schema.SigTimeStampDecoder<T>
- All Implemented Interfaces:
AttributeDecoder<JadesAttrCommonStruct, T>, JadesAttributeDecoder<T>
- Direct Known Subclasses:
AllDataObjectsTimeStampDecoder, ArchiveTimeStampDecoder, RefsOnlyTimeStampDecoder, SigAndRefsTimeStampDecoder, SignatureTimeStampDecoder
public abstract class SigTimeStampDecoder<T extends SignatureTimeStamp>
extends Object
implements JadesAttributeDecoder<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Tdecode(JadesAttrCommonStruct encoded, Integer index) protected voiddecode(org.json.JSONObject header, JsonStructureFinder jsonStructureFinder, T attr) protected voiddecode(org.json.JSONObject header, String extension, JsonStructureFinder jsonStructureFinder, T attr) protected voiddecodeValues(org.json.JSONObject sigTS, T attr) protected abstract TspecificDecode(JadesAttrCommonStruct encoded, Integer index)
-
Constructor Details
-
SigTimeStampDecoder
public SigTimeStampDecoder()
-
-
Method Details
-
specificDecode
protected abstract T specificDecode(JadesAttrCommonStruct encoded, Integer index) throws SignatureAttributeException - Throws:
SignatureAttributeException
-
decode
public final T decode(JadesAttrCommonStruct encoded, Integer index) throws SignatureAttributeException - Specified by:
decodein interfaceAttributeDecoder<JadesAttrCommonStruct, T extends SignatureTimeStamp>- Throws:
SignatureAttributeException
-
decode
protected void decode(org.json.JSONObject header, String extension, JsonStructureFinder jsonStructureFinder, T attr) -
decode
-
decodeValues
-