public class

XadesFormatExtenderProfile

extends Object
java.lang.Object
   ↳ xades4j.production.XadesFormatExtenderProfile

Class Overview

A profile for signature format enrichment, after verification. A format extender is used to add unsigned signature properties to an existing signature in order augment its format. This can be done as part of the verification process. The XadesSignatureFormatExtender can also be used separately, but no checks are made on the correctness of the signature.

This profile follows the same principles of XadesSigningProfile.

Summary

Public Constructors
XadesFormatExtenderProfile()
Public Methods
final XadesSignatureFormatExtender getFormatExtender()
XadesFormatExtenderProfile withAlgorithmsProvider(Class<? extends AlgorithmsProvider> algsProviderClass)
This method is deprecated. this method is deprecated and might be removed on future versions
XadesFormatExtenderProfile withAlgorithmsProvider(AlgorithmsProvider algsProvider)
This method is deprecated. This method is deprecated and might be removed on future versions
XadesFormatExtenderProfile withAlgorithmsProviderEx(Class<? extends AlgorithmsProviderEx> algsProviderClass)
XadesFormatExtenderProfile withAlgorithmsProviderEx(AlgorithmsProviderEx algsProvider)
final <T> XadesFormatExtenderProfile withBinding(Class<T> from, T to)
final <T> XadesFormatExtenderProfile withBinding(Class<T> from, Class<? extends T> to)
XadesFormatExtenderProfile withDigestEngineProvider(Class<? extends MessageDigestEngineProvider> digestProviderClass)
XadesFormatExtenderProfile withDigestEngineProvider(MessageDigestEngineProvider digestProvider)
<TProp extends QualifyingProperty> XadesFormatExtenderProfile withPropertyDataObjectGenerator(Class<TProp> propClass, PropertyDataObjectGenerator<TProp> propDataGen)
<TProp extends QualifyingProperty> XadesFormatExtenderProfile withPropertyDataObjectGenerator(Class<TProp> propClass, Class<? extends PropertyDataObjectGenerator<TProp>> propDataGenClass)
XadesFormatExtenderProfile withTimeStampTokenProvider(Class<? extends TimeStampTokenProvider> tsTokenProviderClass)
XadesFormatExtenderProfile withTimeStampTokenProvider(TimeStampTokenProvider tsTokenProvider)
XadesFormatExtenderProfile withUnsignedPropertiesMarshaller(UnsignedPropertiesMarshaller uPropsMarshaller)
XadesFormatExtenderProfile withUnsignedPropertiesMarshaller(Class<? extends UnsignedPropertiesMarshaller> uPropsMarshallerClass)
Protected Methods
Class<? extends XadesSignatureFormatExtender> getFormatExtenderClass()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public XadesFormatExtenderProfile ()

Public Methods

public final XadesSignatureFormatExtender getFormatExtender ()

public XadesFormatExtenderProfile withAlgorithmsProvider (Class<? extends AlgorithmsProvider> algsProviderClass)

This method is deprecated.
this method is deprecated and might be removed on future versions

public XadesFormatExtenderProfile withAlgorithmsProvider (AlgorithmsProvider algsProvider)

This method is deprecated.
This method is deprecated and might be removed on future versions

public XadesFormatExtenderProfile withAlgorithmsProviderEx (Class<? extends AlgorithmsProviderEx> algsProviderClass)

public XadesFormatExtenderProfile withAlgorithmsProviderEx (AlgorithmsProviderEx algsProvider)

public final XadesFormatExtenderProfile withBinding (Class<T> from, T to)

public final XadesFormatExtenderProfile withBinding (Class<T> from, Class<? extends T> to)

public XadesFormatExtenderProfile withDigestEngineProvider (Class<? extends MessageDigestEngineProvider> digestProviderClass)

public XadesFormatExtenderProfile withDigestEngineProvider (MessageDigestEngineProvider digestProvider)

public XadesFormatExtenderProfile withPropertyDataObjectGenerator (Class<TProp> propClass, PropertyDataObjectGenerator<TProp> propDataGen)

public XadesFormatExtenderProfile withPropertyDataObjectGenerator (Class<TProp> propClass, Class<? extends PropertyDataObjectGenerator<TProp>> propDataGenClass)

public XadesFormatExtenderProfile withTimeStampTokenProvider (Class<? extends TimeStampTokenProvider> tsTokenProviderClass)

public XadesFormatExtenderProfile withTimeStampTokenProvider (TimeStampTokenProvider tsTokenProvider)

public XadesFormatExtenderProfile withUnsignedPropertiesMarshaller (UnsignedPropertiesMarshaller uPropsMarshaller)

public XadesFormatExtenderProfile withUnsignedPropertiesMarshaller (Class<? extends UnsignedPropertiesMarshaller> uPropsMarshallerClass)

Protected Methods

protected Class<? extends XadesSignatureFormatExtender> getFormatExtenderClass ()