public abstract class ATSLChecker extends java.lang.Object implements ITSLChecker
Abstract class that represents a TSL data checker with the principal functions regardless it implementation.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SCHEME_TYPE_FIELD_NAME
Constant attribute that represents the token name for the Scheme Type Field.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkTSLSignature(byte[] fullTSLxml)
Checks if must be defined (according to its specification and version) or not the TSL signature.
|
void |
checkTSLValues(boolean checkSignature,
byte[] fullTSLxml)
Checks all the actual values assigned to this TSL as the concrecte specification and version
requires.
|
public static final java.lang.String SCHEME_TYPE_FIELD_NAME
public final void checkTSLValues(boolean checkSignature,
byte[] fullTSLxml)
throws TSLMalformedException
checkTSLValues in interface ITSLCheckercheckSignature - Flag that indicates if the TSL signature must be checked (true)
or not (false).fullTSLxml - Byte array that represents the full TSL xml to check the signature.TSLMalformedException - In case of some data does not exist or has not a correct value.ITSLChecker.checkTSLValues(boolean, byte[])public final void checkTSLSignature(byte[] fullTSLxml)
throws TSLMalformedException
fullTSLxml - Byte array that represents the full TSL xml to check the signature.TSLMalformedException - In case of some data has not a correct value.