This library is based on the Microsoft Web Services add-on Enhancements (WSE) 3.0, and consists of a series of classes generated from XSD schemes and two main classes of service they generate requests and process responses:
AfirmaService: is the class unit to carry out requests to the services' web @firma.
TsaService: is the class unit to carry out requests to the services' web TS@.
As authentication methods are admitted forms UsernameToken (*) and BinarySecurityToken (the latter requires a X509 certificate with which it signed petitions SOAP), he will be further also necessary to establish the identifier of implementation in the services' web @firma and TS@.
Optionally, you can also set the X509 certificate with which the server will sign the responses to the library check if the signature of each reply has been signed with such a certificate, without the certificate the bookshop will check the signature of the responses using the included in the certificate BinarySecurityToken.
(*) Authentication through UsernameToken has not been able to be tested.