public interface IAnyTypeExtension
extends java.io.Serializable
Interface that defines the common method for any type extensions in a TSL.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
| Modifier and Type | Field and Description |
|---|---|
static int |
IMPL_ADDITIONAL_SERVICE_INFORMATION
Constant attribute that represents the implementation extension: AdditionalServiceInformation.
|
static int |
IMPL_EXPIRED_CERTS_REVOCATION_INFO
Constant attribute that represents the implementation extension: ExpiredCertsRevocationInfo.
|
static int |
IMPL_QUALIFICATIONS
Constant attribute that represents the implementation extension: Qualifications.
|
static int |
IMPL_TAKENOVERBY
Constant attribute that represents the implementation extension: TakenOverBy.
|
static int |
IMPL_UNKNOWN_EXTENSION
Constant attribute that represents the implementation extension: UnknownExtension.
|
static int |
TYPE_SCHEME
Constant attribute that identifies a extension how 'Schemne Extension'.
|
static int |
TYPE_SERVICE_INFORMATION
Constant attribute that identifies a extension how 'Service Information Extension'.
|
static int |
TYPE_TSP_INFORMATION
Constant attribute that identifies a extension how 'TSP Information Extension'.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkExtensionValue(ITSLObject tsl,
ServiceHistoryInstance shi)
Checks if the extension has an appropiate value in the TSL.
|
int |
getImplementationExtension()
Gets the implementation for the extension.
|
boolean |
isCritical()
Checks if the extension is critical or not.
|
static final int TYPE_SCHEME
static final int TYPE_TSP_INFORMATION
static final int TYPE_SERVICE_INFORMATION
static final int IMPL_ADDITIONAL_SERVICE_INFORMATION
static final int IMPL_EXPIRED_CERTS_REVOCATION_INFO
static final int IMPL_QUALIFICATIONS
static final int IMPL_TAKENOVERBY
static final int IMPL_UNKNOWN_EXTENSION
boolean isCritical()
true if the extension is critical, otherwise false.int getImplementationExtension()
void checkExtensionValue(ITSLObject tsl, ServiceHistoryInstance shi) throws TSLMalformedException
tsl - TSL Object representation that contains the service and the extension.shi - Service Information (or service history information) in which is declared the extension.TSLMalformedException - In case of the extension has not a correct value.