I'm migrating from itext v5 to v7 and found the PdfSignatureAppearance
class has changed its method setSignDate()
from public
to protected
. I can't find the reason why is it necessary? (I know that protected method can only be used in inherited class or in the same package).
Am I missing some good design patterns of java?
should I make
IpdfSignatureAppearance
which inherit thePdfSignatureAppearance
and call actual function