Class DefaultSignaturePropertiesProvider

java.lang.Object
xades4j.providers.impl.DefaultSignaturePropertiesProvider
All Implemented Interfaces:
SignaturePropertiesProvider

public class DefaultSignaturePropertiesProvider extends Object implements SignaturePropertiesProvider
The default implementation of SignaturePropertiesProvider. It provides the SigningTime signed property.
Author:
Luís
  • Constructor Details

    • DefaultSignaturePropertiesProvider

      public DefaultSignaturePropertiesProvider()
  • Method Details

    • provideProperties

      public void provideProperties(SignaturePropertiesCollector signaturePropsCol)
      Description copied from interface: SignaturePropertiesProvider
      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.
      Specified by:
      provideProperties in interface SignaturePropertiesProvider
      Parameters:
      signaturePropsCol - the signature properties collector (a new instance for each invocation)
      See Also: