Allow custom entries in signature dictionary
Created by: lainosantos
Thanks for this excellent software.
Sometimes is important add custom entries, or any relevant infornation as PDPropBuild, in the signature dictionary, but the only way to access PDSignature whith less internvention is getting the return of the createSignatureDictionary private method. Changing it to protected permit us overwrite and add more entries in parent returned signature.
@Override
protected PDSignature createSignatureDictionary(final PAdESCommonParameters parameters, PDDocument pdDocument)
{
PDSignature signature = super.createSignatureDictionary(parameters, pdDocument);
// Do something
return signature;
}