iText.Kernel.Exceptions.PdfException: PdfEncryption exception.
---> System.NotSupportedException: Either com.itextpdf:bouncy-castle-adapter or com.itextpdf:bouncy-castle-fips-adapter dependency must be added in order to use BouncyCastleFactoryCreator
at iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateIDigest(String hashAlgorithm)
at iText.Kernel.Crypto.Securityhandler.StandardHandlerUsingAes256.ComputeHash(Byte[] password, Byte[] salt, Int32 saltOffset, Int32 saltLen, Byte[] userKey)
at iText.Kernel.Crypto.Securityhandler.StandardHandlerUsingAes256.InitKeyAndReadDictionary(PdfDictionary encryptionDictionary, Byte[] password)
--- End of inner exception stack trace ---
at iText.Kernel.Crypto.Securityhandler.StandardHandlerUsingAes256.InitKeyAndReadDictionary(PdfDictionary encryptionDictionary, Byte[] password)
at iText.Kernel.Crypto.Securityhandler.StandardHandlerUsingAes256..ctor(PdfDictionary encryptionDictionary, Byte[] password)
at iText.Kernel.Pdf.PdfEncryption..ctor(PdfDictionary pdfDict, Byte[] password, Byte[] documentId)
at iText.Kernel.Pdf.PdfReader.ReadDecryptObj()
at iText.Kernel.Pdf.PdfReader.ReadPdf()
at iText.Kernel.Pdf.PdfDocument.Open(PdfVersion newPdfVersion)
at iText.Kernel.Pdf.PdfDocument..ctor(PdfReader reader, DocumentProperties properties)
at iText.Kernel.Pdf.PdfDocument..ctor(PdfReader reader)
at WikiUAV.Services.AttachmentService.ParsePdf(String fileName, SourceModel s) in /home/unmanned-john-doe/Git-projects/TelegramChatParser/WikiUAV/Services/AttachmentService.cs:line 31
---> System.NotSupportedException: Either com.itextpdf:bouncy-castle-adapter or com.itextpdf:bouncy-castle-fips-adapter dependency must be added in order to use BouncyCastleFactoryCreator
at iText.Bouncycastleconnector.BouncyCastleDefaultFactory.CreateIDigest(String hashAlgorithm)
at iText.Kernel.Crypto.Securityhandler.StandardHandlerUsingAes256.ComputeHash(Byte[] password, Byte[] salt, Int32 saltOffset, Int32 saltLen, Byte[] userKey)
at iText.Kernel.Crypto.Securityhandler.StandardHandlerUsingAes256.InitKeyAndReadDictionary(PdfDictionary encryptionDictionary, Byte[] password)
--- End of inner exception stack trace ---
at iText.Kernel.Crypto.Securityhandler.StandardHandlerUsingAes256.InitKeyAndReadDictionary(PdfDictionary encryptionDictionary, Byte[] password)
at iText.Kernel.Crypto.Securityhandler.StandardHandlerUsingAes256..ctor(PdfDictionary encryptionDictionary, Byte[] password)
at iText.Kernel.Pdf.PdfEncryption..ctor(PdfDictionary pdfDict, Byte[] password, Byte[] documentId)
at iText.Kernel.Pdf.PdfReader.ReadDecryptObj()
at iText.Kernel.Pdf.PdfReader.ReadPdf()
at iText.Kernel.Pdf.PdfDocument.Open(PdfVersion newPdfVersion)
at iText.Kernel.Pdf.PdfDocument..ctor(PdfReader reader, DocumentProperties properties)
at iText.Kernel.Pdf.PdfDocument..ctor(PdfReader reader)
at WikiUAV.Services.AttachmentService.ParsePdf(String fileName, SourceModel s) in /home/unmanned-john-doe/Git-projects/TelegramChatParser/WikiUAV/Services/AttachmentService.cs:line 31
Веб-страница создана автоматически на основе поста пользователя ПЛАТФОРМА_FPV