Issue 127135 - SEInitializer crypting interfaces unusable
Summary: SEInitializer crypting interfaces unusable
Status: CONFIRMED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 4.1.2
Hardware: PC Windows 7
: P5 (lowest) Major
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-26 06:43 UTC by sgibelli
Modified: 2016-09-26 07:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Java example of SEInitializer interfaces use (601 bytes, text/plain)
2016-09-26 06:43 UTC, sgibelli
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description sgibelli 2016-09-26 06:43:07 UTC
Created attachment 85694 [details]
Java example of SEInitializer interfaces use

I tried using the "XDigestContextSupplier" and "XCipherContextSupplier" interfaces exposed by the service "com.sun.star.xml.crypto.SEInitializer" but the UnoRuntime.queryInterface method always returns null (see the code snippet attached). The interfaces are reported in the IDL definition and documentation of the service and even if the service is unpublished I supposed they are usable.

I also tried using the service in a Basic macro: the service is correctly created using the "createUnoService" function but when I call one the interfaces method I get an error.
Comment 1 hanya 2016-09-26 07:10:01 UTC
XDigestContextSupplier and XCipherContextSupplier interfaces are implemented for 
NSS environment but not implemented for Windows environment on SEInitializer component.