EldoS | Feel safer!

Software components for data protection, secure storage and transfer

OfficeBlackbox - Microsoft Office 2013

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
#28677
Posted: 03/05/2014 05:04:00
by Vaclav Herout (Standard support level)
Joined: 03/05/2014
Posts: 1

Hello.

I'm evaluating your SecureBlackbox product (Java edition) for use of signature validation in a document created by Microsoft Office 2013.

The method Open() on instance of class TElOfficeDocument throws java.lang.ClassCastException with the message "[B cannot be cast to SecureBlackbox.Base.TElX509Certificate".

I have no idea what went wrong. Can you help me resolve this?

Full stack trace:
Exception in thread "main" java.lang.ClassCastException: [B cannot be cast to SecureBlackbox.Base.TElX509Certificate
at SecureBlackbox.XMLSecurity.TElXMLEncapsulatedX509Certificates.Clear(SBXMLAdES.pas:8911)
at SecureBlackbox.XMLSecurity.TElXMLEncapsulatedX509Certificates.Destroy(SBXMLAdES.pas:8931)
at org.freepascal.rtl.TObject.Free(system.pp)
at SecureBlackbox.Base.SBUtils.FreeAndNil(SBUtils.pas:7921)
at SecureBlackbox.XMLSecurity.TElXMLCertificateValues.Destroy(SBXMLAdES.pas:9026)
at org.freepascal.rtl.TObject.Free(system.pp)
at SecureBlackbox.Base.SBUtils.FreeAndNil(SBUtils.pas:7921)
at SecureBlackbox.XMLSecurity.TElXMLUnsignedSignatureProperties.Destroy(SBXMLAdES.pas:10586)
at org.freepascal.rtl.TObject.Free(system.pp)
at SecureBlackbox.Base.SBUtils.FreeAndNil(SBUtils.pas:7921)
at SecureBlackbox.XMLSecurity.TElXMLUnsignedProperties.Destroy(SBXMLAdES.pas:11236)
at org.freepascal.rtl.TObject.Free(system.pp)
at SecureBlackbox.Base.SBUtils.FreeAndNil(SBUtils.pas:7921)
at SecureBlackbox.XMLSecurity.TElXMLQualifyingProperties.Destroy(SBXMLAdES.pas:11416)
at org.freepascal.rtl.TObject.Free(system.pp)
at SecureBlackbox.Base.SBUtils.FreeAndNil(SBUtils.pas:7921)
at SecureBlackbox.XMLSecurity.TElXMLSignature.Destroy(SBXMLSig.pas:4297)
at org.freepascal.rtl.TObject.Free(system.pp)
at SecureBlackbox.Base.SBUtils.FreeAndNil(SBUtils.pas:7921)
at SecureBlackbox.XMLSecurity.TElXMLSigProcessor.Destroy(SBXMLSig.pas:2245)
at SecureBlackbox.XMLSecurity.TElXMLVerifier.Destroy(SBXMLSig.pas:2672)
at org.freepascal.rtl.TObject.Free(system.pp)
at SecureBlackbox.Base.SBUtils.FreeAndNil(SBUtils.pas:7921)
at SecureBlackbox.Office.TElOfficeOpenXMLBaseSignatureHandler.Reset(SBOfficeSecurity.pas:9084)
at SecureBlackbox.Office.TElOfficeOpenXMLSignatureHandler.Reset(SBOfficeSecurity.pas:9856)
at SecureBlackbox.Office.TElOfficeOpenXMLSignatureHandler.Destroy(SBOfficeSecurity.pas:9701)
at org.freepascal.rtl.TObject.Free(system.pp)
at SecureBlackbox.Base.SBUtils.FreeAndNil(SBUtils.pas:7921)
at SecureBlackbox.Office.TElOfficeOpenXMLPackage.ExtractSignatureInfo(SBOffice.pas:4522)
at SecureBlackbox.Office.TElOfficeOpenXMLPackage.ExtractDocumentInfo(SBOffice.pas:4476)
at SecureBlackbox.Office.TElOfficeOpenXMLDocument.ExtractDocumentInfo(SBOffice.pas:4987)
at SecureBlackbox.Office.TElOfficeOpenXMLPackage.Open(SBOffice.pas:4634)
at SecureBlackbox.Office.TElOfficeDocument.Open(SBOffice.pas:1879)
at SecureBlackbox.Office.TElOfficeDocument.Open(SBOffice.pas:1805)
at SecureBlackbox.Office.TElOfficeDocument.Open(SBOffice.pas:1784)
at cz.cca.test.MyMain.main(MyMain.java:26)

Thanks
Vaclav
#28678
Posted: 03/05/2014 05:06:11
by Eugene Mayevski (Team)

Thank you for your interest in our products.

I'll move your question to the HelpDesk for checking.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 794 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!