Package avaintec/xdss

The avaintec/xdss package provides script support for X-DSS components. For information on how to use the package in your web application, see the documentation for the widget package.

Requirements

The package requires the following server-side modules:

Architecture

The top-level abstraction in the package is the Signature widget. It connects to the SignatureFactoryBroker, which provides it with SignatureFactoryManagers. Each SignatureFactoryManager manages one type of SignatureFactory. The SignatureFactories provide the actual signing functionality, by talking to various server- and client-side components.

Main interfaces

The main interfaces in the package are:

Main classes

The main classes in the package are:

Extending the suite

When adding new signature methods to X-DSS, you need to create implementations of the following interfaces:

Then, connect the new SignatureFactory and SignatureFactoryManager to the Signature widget by hooking the Manager to avaintec/xdss/SignatureFactoryBroker.

Additionally, you may need to create implementations of the following interfaces:

Finally, you will need to create a server-side validator component, and hook it to the validator pipeline in the Cocoon xdss-server component. See this component for details on how to go about it.