I have an application that signs in pdf, but in the parameters, if I put characters in Japanese, in the document it adds the signature but it does it with erroneous characters.
this is what it adds to the pdf signature:
/ Type / Sig / Filter / Adobe.PPKLite / SubFilter /ETSI.CAdES.detached/M (D: 20181123103935 + 01'00 ') / Reason (þÿ? rT \ r) / Location (þÿ? RT \ r) / ContactInfo ( þÿ? rT \ r) / Name (þÿ? rT \ r) >>
this is example code:
Code: Select all
Stream certificateStream = new MemoryStream(File.ReadAllBytes(certificate));
using (GdPicturePDF oGdPicturePDF = new GdPicturePDF())
{
oGdPicturePDF.LoadFromStream(_file);
var status = oGdPicturePDF.DigiSign(pdfSigned, certificateStream, 1234, 署名, 署名, 署名, 署名, true);
if (status != GdPictureStatus.OK)
{
throw new Exception("Failed to sign document");
}
}
Has anyone had a similar problem or knows what the reason may be?
Thank All