cancel
Showing results for 
Search instead for 
Did you mean: 

jar files for Didgital Signing

ADIDAS
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

siddhardha_dnk
Active Participant
0 Kudos

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.

Former Member
0 Kudos

You can try writing below import statement

import com.sap.aii.security.lib.*

Gaurav Jain

ADIDAS
Participant
0 Kudos

Hi Gaurav,

Thanks for the reply but that didnot help. The com.sap.aii.security.lib. has an Interface KeyStoreManager but not KeystoreManager but there is no keyStore.

Regards,

Arunava

Former Member
0 Kudos

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