Class JAdESValuesLogicDecoder<T extends JAdESCertValuesLogic>
java.lang.Object
br.ufsc.labsec.parser.jades.decoder.schema.JAdESValuesLogicDecoder<T>
- All Implemented Interfaces:
AttributeDecoder<JadesAttrCommonStruct, T>, JadesAttributeDecoder<T>
- Direct Known Subclasses:
AttrAuthoritiesCertValsDecoder
public abstract class JAdESValuesLogicDecoder<T extends JAdESCertValuesLogic>
extends Object
implements JadesAttributeDecoder<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Tdecode(JadesAttrCommonStruct encoded, Integer index) voidDecodifica o atributo CertificateValues a partir da sua codificação padrão obtida da assinatura.protected abstract TspecificDecode(JadesAttrCommonStruct encoded, Integer index)
-
Field Details
-
NO_CERT_VALS
- See Also:
-
DIFFERENT_CERT_TYPE
- See Also:
-
-
Constructor Details
-
JAdESValuesLogicDecoder
public JAdESValuesLogicDecoder()
-
-
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, EncodingException - Specified by:
decodein interfaceAttributeDecoder<JadesAttrCommonStruct, T extends JAdESCertValuesLogic>- Throws:
SignatureAttributeExceptionEncodingException
-
decode
public void decode(org.json.JSONObject unprotectedHeader, T attr) throws EncodingException, CertValuesException Decodifica o atributo CertificateValues a partir da sua codificação padrão obtida da assinatura.- Parameters:
unprotectedHeader- O header codificado- Throws:
EncodingExceptionCertValuesException
-