Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

XKMS Service exposes SOAP interface specified in XKMS 2.0.
XKMS implementation realizes chain of responsibility design pattern chain-of-responsibility .
Each XKMS operation defines handler interface and provides one or more implementations of this interface. Handler implementations are connected into chain.
Operation implementation invokes handlers one after another from pre-configured chain until either all handlers will be processed or critical error will occur.
This design makes XKMS internal implementation quite flexible: it is easy to add/remove handlers, change their order, introduce handlers supporting new backends, etc.
For example certificate can be searched firstly in the LDAP repository by LDAP lookup handler and, if it is not found there, additionally looked in remote PKI using appropriate lookup handler. Logic validation Validation operation logic is organized in chain is well: first validation handler checks format and expire date of X509 certificate, next one checks certificate trust chain.

...

XKMS Service can be deployed into web and OSGi containers. Service implementation was tested with Tomcat and Karaf.h4

Sample Requests and Responses

Sample request for Locate operation:

...