Package xades4j.providers
Interface SignaturePropertiesProvider
- All Known Implementing Classes:
DefaultSignaturePropertiesProvider
public interface SignaturePropertiesProvider
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.
- Author:
- Luís
-
Method Summary
Modifier and TypeMethodDescriptionvoid
provideProperties
(SignaturePropertiesCollector signedPropsCol) Provides the signature properties through a collector.
-
Method Details
-
provideProperties
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)- See Also:
-