public interface

SignaturePropertiesProvider

xades4j.providers.SignaturePropertiesProvider
Known Indirect Subclasses

Class Overview

Interface for providers of signature properties. This is used during signature generation to collect the optional signature properties that should be added to the final XAdES signature. Note that the mandatory properties in each format are enforced during signature production.

Summary

Public Methods
abstract void provideProperties(SignaturePropertiesCollector signedPropsCol)
Provides the signature properties through a collector.

Public Methods

public abstract void provideProperties (SignaturePropertiesCollector signedPropsCol)

Provides the signature properties through a collector. This approach is used instead of a series of get methods or returning two collections of properties (signed and unsigned) because it results in a simpler interface for implementing classes. Besides, the collector is provided by the lib, which enables control of property mutiplicity.

Parameters
signedPropsCol the signature properties collector (a new instance for each invocation)