Interface IAnyTypeExtension

    • Field Detail

      • TYPE_SCHEME

        static final int TYPE_SCHEME
        Constant attribute that identifies a extension how 'Schemne Extension'.
        See Also:
        Constant Field Values
      • TYPE_TSP_INFORMATION

        static final int TYPE_TSP_INFORMATION
        Constant attribute that identifies a extension how 'TSP Information Extension'.
        See Also:
        Constant Field Values
      • TYPE_SERVICE_INFORMATION

        static final int TYPE_SERVICE_INFORMATION
        Constant attribute that identifies a extension how 'Service Information Extension'.
        See Also:
        Constant Field Values
      • IMPL_ADDITIONAL_SERVICE_INFORMATION

        static final int IMPL_ADDITIONAL_SERVICE_INFORMATION
        Constant attribute that represents the implementation extension: AdditionalServiceInformation.
        See Also:
        Constant Field Values
      • IMPL_EXPIRED_CERTS_REVOCATION_INFO

        static final int IMPL_EXPIRED_CERTS_REVOCATION_INFO
        Constant attribute that represents the implementation extension: ExpiredCertsRevocationInfo.
        See Also:
        Constant Field Values
      • IMPL_QUALIFICATIONS

        static final int IMPL_QUALIFICATIONS
        Constant attribute that represents the implementation extension: Qualifications.
        See Also:
        Constant Field Values
      • IMPL_TAKENOVERBY

        static final int IMPL_TAKENOVERBY
        Constant attribute that represents the implementation extension: TakenOverBy.
        See Also:
        Constant Field Values
      • IMPL_UNKNOWN_EXTENSION

        static final int IMPL_UNKNOWN_EXTENSION
        Constant attribute that represents the implementation extension: UnknownExtension.
        See Also:
        Constant Field Values
    • Method Detail

      • isCritical

        boolean isCritical()
        Checks if the extension is critical or not.
        Returns:
        true if the extension is critical, otherwise false.
      • getImplementationExtension

        int getImplementationExtension()
        Gets the implementation for the extension.
        Returns:
        Implementation for the extension.
      • checkExtensionValue

        void checkExtensionValue​(ITSLObject tsl,
                                 ServiceHistoryInstance shi)
                          throws TSLMalformedException
        Checks if the extension has an appropiate value in the TSL.
        Parameters:
        tsl - TSL Object representation that contains the service and the extension.
        shi - Service Information (or service history information) in which is declared the extension.
        Throws:
        TSLMalformedException - In case of the extension has not a correct value.