xades4j.production
Class XadesFormatExtenderProfile
java.lang.Object
xades4j.production.XadesFormatExtenderProfile
public class XadesFormatExtenderProfile
- extends Object
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.
- Author:
- Luís
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XadesFormatExtenderProfile
public XadesFormatExtenderProfile()
withBinding
public final <T> XadesFormatExtenderProfile withBinding(Class<T> from,
Class<? extends T> to)
withBinding
public final <T> XadesFormatExtenderProfile withBinding(Class<T> from,
T to)
getFormatExtender
public final XadesSignatureFormatExtender getFormatExtender()
throws XadesProfileResolutionException
- Throws:
XadesProfileResolutionException
getFormatExtenderClass
protected Class<? extends XadesSignatureFormatExtender> getFormatExtenderClass()
withAlgorithmsProvider
public XadesFormatExtenderProfile withAlgorithmsProvider(AlgorithmsProvider algsProvider)
withAlgorithmsProvider
public XadesFormatExtenderProfile withAlgorithmsProvider(Class<? extends AlgorithmsProvider> algsProviderClass)
withDigestEngineProvider
public XadesFormatExtenderProfile withDigestEngineProvider(MessageDigestEngineProvider digestProvider)
withDigestEngineProvider
public XadesFormatExtenderProfile withDigestEngineProvider(Class<? extends MessageDigestEngineProvider> digestProviderClass)
withTimeStampTokenProvider
public XadesFormatExtenderProfile withTimeStampTokenProvider(TimeStampTokenProvider tsTokenProvider)
withTimeStampTokenProvider
public XadesFormatExtenderProfile withTimeStampTokenProvider(Class<? extends TimeStampTokenProvider> tsTokenProviderClass)
withUnsignedPropertiesMarshaller
public XadesFormatExtenderProfile withUnsignedPropertiesMarshaller(UnsignedPropertiesMarshaller uPropsMarshaller)
withUnsignedPropertiesMarshaller
public XadesFormatExtenderProfile withUnsignedPropertiesMarshaller(Class<? extends UnsignedPropertiesMarshaller> uPropsMarshallerClass)
withPropertyDataObjectGenerator
public <TProp extends QualifyingProperty> XadesFormatExtenderProfile withPropertyDataObjectGenerator(Class<TProp> propClass,
PropertyDataObjectGenerator<TProp> propDataGen)
withPropertyDataObjectGenerator
public <TProp extends QualifyingProperty> XadesFormatExtenderProfile withPropertyDataObjectGenerator(Class<TProp> propClass,
Class<? extends PropertyDataObjectGenerator<TProp>> propDataGenClass)
Copyright © 2012. All Rights Reserved.