public interface ITSLBuilder
Interface that represents a TSL builder regardless it implementation.
Project:Platform for detection and validation of certificates recognized in European TSL.
| Modifier and Type | Method and Description |
|---|---|
byte[] |
buildTSLFromXML(java.io.InputStream is)
Method that builds the TSL data from a input XML.
|
byte[] |
buildXMLfromTSL()
Method that builds the XML representation (concrete specification and version) of the TSL.
|
byte[] buildTSLFromXML(java.io.InputStream is)
throws TSLArgumentException,
TSLParsingException
is - InputStream Input Stream of the XML (TSL representation).TSLArgumentException - In case of the input parameter is null.TSLParsingException - In case of some error parsing the XML input stream.byte[] buildXMLfromTSL()
throws TSLEncodingException
TSLEncodingException - In case of some error encoding the XML