on 06-06-2008 6:04 PM
Hi All,
I have a requirement where I need to Access to Keystore for Digital signing an XML payload. I am using the example in the SAP help link - Link: [Using Digital Signatures|http://help.sap.com/saphelp_nw04s/helpdata/en/a4/d0201854fb6a4cb9545892b49d4851/frameset.htm]
I have already imported the following jar files (aii_af_cci.jar,aii_af_cpa.jar,aii_af_mp.jar, aii_af_ms_api.jar, aii_af_ms_spi.jar, aii_af_svc.jar, aii_af_trace.jar, aii_security_lib.jar, aii_security_interface.jar, iaik_jce.jar, tc_sec_ssf.jar).
The code has the following import statements:
import com.sap.aii.af.mp.module.*;
import com.sap.aii.af.ra.ms.api.*;
import com.sap.aii.af.mp.module.*;
import com.sap.aii.af.ra.ms.api.*;
import com.sap.aii.af.service.auditlog.*;
import com.sap.aii.af.service.resource.SAPSecurityResources;
import com.sap.aii.security.lib.KeyStoreManager;
import com.sap.aii.security.lib.PermissionMode;
import com.sap.security.core.server.ssf.SsfProfileKeyStore;
import com.sap.security.api.ssf.ISsfProfile;
import java.io.UnsupportedEncodingException;
But even after the above imports I am still getting errors in resolving the following variables in the code.
KeystoreManager
keyStore
What are import statements or jar files I am missing? and where can i find those jar files for making the example work?
Thanks and Regards,
Arunava
Edited by: Arunava Das on Jun 6, 2008 7:05 PM
Hi All,
Im working on code which has
import com.sap.security.api.ssf.ISsfProfile
But i couldn't find the jar file for that. I think the the package is "com.sap.security.api.ssf".
Please help me out, where can i get that jar file...?
Warm Regards,
DNK Siddhardha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can try writing below import statement
import com.sap.aii.security.lib.*
Gaurav Jain
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Keystore docs you can find at following link
http://java.sun.com/j2se/1.5.0/docs/api/java/security/KeyStore.html
I guess class name is "java.security.KeyStore"
Add this and try..
Gaurav Jain
Points if answer is helpful
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.