Java-crypto

what must i do to see in my IDE this library...
what must i install, when...
please help:)

Are you talking about this download page:
http://java.sun.com/products/jce/index-122.html
? If so, note that it says
"The primary difference between JCE 1.2 and JCE 1.2.2 is that JCE 1.2.2 is exportable outside the U.S. and Canada due to mechanisms it implements to ensure that only qualified providers can be plugged into the framework."

Similar Messages

  • SAP Java Crypto Toolkit was not found

    Hi,
    I m trying to install Netweaver 7.0 BI and portal with SR3 package. Installation is Cluster installation on windows 2008 and sql 2008 platform. When I came to Centarl instance installtion. On Start Java Phase I had the error. I put the error below. I check the notes Note 1071472 - FileSystem SecureStore connection issues, Note 914818 - JSPM: Could not detect database, Note 1154133 - JSPM: SAP Java Crypto Toolkit was not found.
    Thank you For your Help.
    Bootstrap MODE:
    <INSTANCE GLOBALS>
    determined by parameter [ID0276347].
    Exception occurred:
    com.sap.engine.bootstrap.SynchronizationException: Database initialization failed! Check database properties!
         at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:476)
         at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)
         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    ==[ Caused by: ]==----
    com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:115)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)
         at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)
         at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)
         at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)
         at com.sap.engine.bootstrap.Synchronizer.<init>(Synchronizer.java:74)
         at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:473)
         at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)
         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Caused by: com.sap.sql.log.OpenSQLException: Error while accessing secure store: Encryption or decryption is not possible because the full version of the SAP Java Crypto Toolkit was not found (iaik_jce.jar is required, iaik_jce_export.jar is not sufficient) or the JCE Jurisdiction Policy Files don't allow the use of the "PbeWithSHAAnd3_KeyTripleDES_CBC" algorithm..
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:106)
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:145)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:226)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:112)
         ... 13 more
    Caused by: com.sap.security.core.server.secstorefs.NoEncryptionException: Encryption or decryption is not possible because the full version of the SAP Java Crypto Toolkit was not found (iaik_jce.jar is required, iaik_jce_export.jar is not sufficient) or the JCE Jurisdiction Policy Files don't allow the use of the "PbeWithSHAAnd3_KeyTripleDES_CBC" algorithm.
         at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:1975)
         at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:802)
         at com.sap.sql.connect.OpenSQLConnectInfo.lookup(OpenSQLConnectInfo.java:783)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:209)
         ... 15 more
    Caused by: javax.crypto.NoSuchPaddingException: Padding 'PKCS5Padding' not implemented.
         at iaik.security.cipher.w.engineSetPadding(Unknown Source)
         at iaik.security.cipher.PbeWithSHAAnd3_KeyTripleDES_CBC.<init>(Unknown Source)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at java.lang.Class.newInstance0(Class.java:308)
         at java.lang.Class.newInstance(Class.java:261)
         at javax.crypto.SunJCE_b.a(DashoA12275)
         at javax.crypto.SunJCE_b.a(DashoA12275)
         at javax.crypto.Cipher.a(DashoA12275)
         at javax.crypto.Cipher.getInstance(DashoA12275)
         at com.sap.security.core.server.secstorefs.Crypt.<init>(Crypt.java:220)
         at com.sap.security.core.server.secstorefs.SecStoreFS.<init>(SecStoreFS.java:1346)
         at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:798)
         ... 17 more
    [Bootstrap module]> Problem occurred while performing synchronization.

    Hi
    > > Caused by: com.sap.sql.log.OpenSQLException: Error while accessing secure store: Encryption or decryption is not possible because the full version of the SAP Java Crypto Toolkit was not found (iaik_jce.jar is required, iaik_jce_export.jar is not sufficient) or the JCE Jurisdiction Policy Files don't allow the use of the "PbeWithSHAAnd3_KeyTripleDES_CBC" algorithm..
    >      at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:106)
    >      at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:145)
    >      at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:226)
    >      at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)
    >      at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:112)
    It looks like the JCE file which you have downloaded is not the correct one. As you can see some jar files are missing. Check JCE files.
    Check SAP Note 1240081 - "Java Cryptography Extension Jurisdiction Policy" files
    Thanks
    Sunny

  • Compatibility between Java crypto and open ssl

    Hello
    I have some question about compatibility between java crypto and openssl library.
    This is my case:
    1.I created DESede key and stored it to file:
    SecretKey key = KeyGenerator.getInstance("TripleDES").generateKey();
    File f = new File("c:\\key.dat");
    DataOutputStream dos =new DataOutputStream(new FileOutputStream(f));
    dos.write(key.getEncoded());
    dos3.close();2.I encrypt some file "c:\\normal.dat" through:
    ecipher.init(Cipher.ENCRYPT_MODE, key2);
      byte[] enc = ecipher.doFinal(normalData);
      File f2 = new File("c:\\enc.dat");
      DataOutputStream dos =new DataOutputStream(new FileOutputStream(f2));
      dos.write(enc);
      dos.close();

    You have carefully left out some critical java code, namely the Cipher.getInstance() method. You'll notice in the documentation for this method that there 3 components to the "transform" argument of this method, the algorithm, the mode, and the padding. All of these must match exactly with the what openssl is using. Furthermore, if you are using one of the modes which require an IV, like CBC mode, then this must match exactly too. If you don't explicitly specify some of these parameters, you might get default values supplied. It is up to you to find out what these are.

  • JAVA CRYPTO TOOLKIT

    I need to install JAVA CRYPTO TOOLKIT on XI 3.0. is the Plain J2SE Adapter engine a prerequiste for Java Crypto Toolkit?

    > is the Plain J2SE Adapter engine a prerequiste for Java Crypto Toolkit.
    No. Don't get confused about the use of J2SE. J2SE means Java 2 Standard Edition and is basis for all Java Programs.
    Plain J2SE Adapter means: That adapter runs on any system where the Java library is available (in contrary to J2EE adapter which runs only on a J2EE server).
    Regards
    Stefan

  • Java.crypto.Mac usage related to concurrency

    My first question is:
    Can I allow multiple threads to use the same instance of java.crypto.Mac concurrently? In other words, for example, is the java.crypto.Mac.doFinal(byte[] input) method thread safe?
    If the answer is no, then my second question is:
    If I have one separate instance of java.crypto.Mac per thead, in order to reuse the instance within a thread, do I have to call init(Key key) method every time before calling doFinal(byte[] input), even if the key value is always the same? I am asking this because we saw init method may introduce some overhead and we want to know whether we can avoid calling init again and again.
    Thanks a lot!
    John F

    1.The javadocs don't say, so I guess you have to assume it is not thread-safe.
    2. The javadocs do answer this, so read them.

  • FIPS 140-2 approved java crypto library

    Hi there,
    I want to execute encryption and digital signature operations (not part of SSL or similar).
    Are there FIPS 140-2 approved java crypto libraries that I can use for free?
    Thanks

    NSS is a set of security libraries written in C so you can certainly use C APIs to access it as well. JSS is the Java interface to NSS. You can either use the JSS API directly or use Sun's PKCS11 wrapper which gives you access to most of the NSS functionalities.

  • Problem using java crypto class... Please help me

    Hi, i'm trying to do application that send information via socket, and i have to send the data encrypted,
    i`m trying to implemented the RC4 algorithm.... I read an article that said that the java sdk 1.4 has already
    implemented the securities classes. So I made this little program:
    import javax.crypto.spec.*;
    import javax.crypto.*;
    import java.security.*;
    import java.io.*;
    public class MicroRC4
    public void encriptaClavePublica(String trama)
    Cipher rc4Cipher;
    byte[] rc4KeyByte;
    SecretKey rc4Key;
    String keyStr;
    String messageEncryp;
    byte[] messageEncrypByte;
    rc4Key = null;
    messageEncryp = trama;
    // Clave para encriptar el mensaje
    keyStr = new String();
    keyStr = "12345678";
    rc4KeyByte = new byte[8];
    messageEncrypByte = new byte[255];
    for(int i=0; i < 8; i++)
    rc4KeyByte[i] = (byte)keyStr.charAt(i);
    try
    for(int i=0; i < messageEncryp.length(); i++)
    messageEncrypByte[i] = (byte)messageEncryp.charAt(i);
    rc4Key = (SecretKey)new SecretKeySpec(rc4KeyByte, "RC4");
    rc4Cipher = Cipher.getInstance("RC4");
    rc4Cipher.init(Cipher.ENCRYPT_MODE, rc4Key);
    byte[] result = null;
    result = rc4Cipher.doFinal(messageEncrypByte);
    System.out.println("Usage:"+result);
    catch(Exception e)
    System.out.println(" Error: " + e.getMessage());
    System.out.println("\n........................................\n");
    I don't know what is wrong but when i run the application it show me the following message :
    Error: Algorithm RC4 not available
    Does anybody know what is wrong ??
    Does anybody can help me ??
    or tell me when can i find some source code that implement de RC4 algorithm
    Thank's in advance..
    Alejandro.

    Hi Alejandro,
    In the ends i decided to implement the algorithm by
    myself, i did it... any way thank's again.... If
    anybody want to see the code, send me a mail......
    AlejandroCan I also get the source code? my email id is [email protected]
    Thanks a lot!
    Srik.

  • New to java crypto

    Hi!
    I'm new to Java cryptography, and I have a problem with DES keys, here is sample app:
            String testString = "01234567";
            byte[] keyBytes = "chaslo00".getBytes("UTF-8");
            KeySpec keySpec = new DESKeySpec(keyBytes);
            SecretKeyFactory keyFactory = SecretKeyFactory.getInstance("DES");
            SecretKey secretKey = keyFactory.generateSecret(keySpec);
            // Make bytes from DES key
            DESKeySpec spec = (DESKeySpec) keyFactory.getKeySpec(secretKey, DESKeySpec.class);
            System.out.println("key: " + new String(spec.getKey()));
            Cipher encipher = Cipher.getInstance("DES/CBC/NoPadding");
            encipher.init(Cipher.ENCRYPT_MODE, secretKey);
            byte[] raw = encipher.doFinal(testString.getBytes());
            System.out.println("encoded as base64:");
            System.out.println(new BASE64Encoder().encode(raw));
            Cipher decipher = Cipher.getInstance("DES/CBC/NoPadding");
            decipher.init(Cipher.DECRYPT_MODE,secretKey);
            byte[] decoded = decipher.doFinal(raw);
            System.out.println(new String(decoded));  I tought that I will have 01234567 as an output but, exception:
    Exception in thread "main" java.security.InvalidKeyException: Parameters missing
         at com.sun.crypto.provider.SunJCE_h.a(DashoA6275)
         at com.sun.crypto.provider.DESCipher.engineInit(DashoA6275)
         at javax.crypto.Cipher.init(DashoA6275)is thrown, what parameters are missing? I want to provide key manualy (not from random etc), how to do this? or maybe someone knows a good tutorial about this., oh one more thing - after spec.hetKey() - original key and taken from this is not the same :D any tips?
    tia Andrew

    CBC requires an IV (initialization vector). You don't have one.
    You need something like
    IvParameterSpec iv = new IvParameterSpec(ivBytes);
    with
    encipher.init(javax.crypto.Cipher.ENCRYPT_MODE, key, iv);

  • Java Crypto Exception

    Hello All -
    When I run the following program, i get the below exception. Any help would be appreciated..
    import java.security.*;
    import javax.crypto.*;
    import javax.crypto.spec.IvParameterSpec;
    import javax.crypto.spec.SecretKeySpec;
    import sun.misc.*;
    public class AESDecryption {
         /*Algorithm*/
         private static final String ALGO = "AES";
         /*Padding scheme - CBC with PKCS5Padding - Initialization Vector is used with AES*/
         private static final String ALGOParams = "/CBC/PKCS5Padding";
         /*Key byte stream*/
         private static byte[] keyValue;
         /*Initialization Vector*/
         private static byte[] iv;
         * decrypt method will take a encrypted string, key and IV in string format and
         * return the decrypted string.
         public static String decrypt(String encryptedData, String keyString, String ivString) throws Exception {
              /*convert key and IV in String format to byte array*/
              stringKeystoByteArray(keyString, ivString);
              /*Generate the key using the keyvalue specified*/
              Key key = generateKey();
              /*Get Cipher with AES/CBC/PKCS5Padding*/
              Cipher c = Cipher.getInstance(ALGO+ALGOParams);
              /*Initialize the Cipher*/
              c.init(Cipher.DECRYPT_MODE, key, new IvParameterSpec(iv));
              /*Decode the encrypted string using the BASE64 Decoder*/
              byte[] decordedValue = new BASE64Decoder().decodeBuffer(encryptedData);
              /*Decrypt the decoded encrypted string*/
              byte[] decValue = c.doFinal(decordedValue);
              return new String (decValue);
         * The stringKeystoByteArray method will take the comma separated, hexadecimal, String representation
         * of the key and the IV and convert each of them to byte arrays.
         private static void stringKeystoByteArray(String keyString, String ivString){
              /*Split the comma separated key and iv*/
              String keyArray [] = keyString.split(",");
              String ivArray [] = ivString.split(",");
              /*instantiate key and iv*/
              keyValue = new byte[keyArray.length];
              iv = new byte[ivArray.length];
              /*convert each hexadecimal string value to a byte and assign to key and iv*/
              for (int i=0; i< keyArray.length; i++)
                   keyValue[i] = (byte)Integer.parseInt(keyArray, 16);
              for (int i=0; i< ivArray.length; i++)
                   iv[i] = (byte)Integer.parseInt(ivArray[i], 16);           
         * Generates the Key for the Cipher
         private static Key generateKey() throws Exception {
              Key key = new SecretKeySpec(keyValue, ALGO);
              return key;
    Exception in thread "main" java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:45)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:599)
    at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoa der.java:58)
    Caused by: java.lang.ExceptionInInitializerError
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:222)
    at javax.crypto.Cipher.getInstance(Unknown Source)
    at AESDecryption.decrypt(AESDecryption.java:44)
    at AESDecryption.main(AESDecryption.java:96)
    ... 5 more
    Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs
    at javax.crypto.b.<clinit>(Unknown Source)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
    ... 8 more
    Caused by: java.lang.SecurityException: Jurisdiction policy files are not signed by trusted signers!
    at javax.crypto.b.a(Unknown Source)
    at javax.crypto.b.a(Unknown Source)
    at javax.crypto.b.access$600(Unknown Source)
    at javax.crypto.b$0.run(Unknown Source)
    at java.security.AccessController.doPrivileged(AccessController.java:251 )
    ... 11 more

    You are comitting the #1 beginner's mistake in encryption. The result of encryption is a byte[] array fr good reason. It is binary data. Stringis not a container for binary data. It is a container for character data. Don't use it to hold cipher text. Use the byte[] array that the APIs already giving you.
    Also you are bamboozling yourself with all that extra exception handling. Just declare all those methods to throw GeneralSecurityException and remove the inner trys and catches completely. You also have a lot of things initialized to null and then tested for null that can never be null.
    Your code works when you fix all this.

  • Java Kernel and the "Unlimited Strength Java Crypto Extension Policy Files"

    Is Java Kernel able to download and install on-demand the "Unlimited Strength Java(TM) Cryptography Extension Policy Files"?
    Currently, I have to instruct the users of my applications to download those policy files from Sun's website and follow the installation instruction. I haven't received any positive feedback from my users when I told them to do this task. I understand them. Manual installation of this files really suck especially for lay men.
    So, with Java Kernel, what's the plan? Can I hope for something better?

    I believe, for US export-control reasons, the Unlimited Strength JCE policy files are never automatically downloadable by the JVM - they have to be explicitly downloaded and configured. However, you could download it yourself, configure the JVM with the policy files, create your own ZIP/JAR file and internally distribute it to your users through your intranet. But, if you do this, you are responsible for complying with the applicable export laws of your country, and perhaps, Sun licensing terms for redistributing the JVM.

  • Java crypto/ usage of keyagreemnt

    hi,
    i am working with JDK 1.4 and using bountsy castle provider.
    i have written two methods encrypt() decrypt() using symmetric algorithem (like blowfish,AES,DES...). the encrypt() method will accept a object as parameter and writen back a sealed object.
    the problem is how do i pass the key to the decrypt() method???
    can i use keyagreement class???? can some one eloborate on usage of this class....

    The "<h:command_button..../>" tag generates code that
    is something like this:For starters, upgrade to the final release (which calls this tag commandButton, no underscore). 've no idea why anyone is still asking questions about prerelease versions!!
    <input type=submit name=_id0:_id7 value="...(Save)"
    onclick="document.forms['_id0']['_id0:BEName'].value='Q
    otation';
    document.forms['_id0']['_id0:BEName'].value='Save';
    document.forms['_id0'].submit()">No, it doesn't, not in any recent version. commandLink still uses Javascript, though.
    What this means is:
    If i disable JavaScript usage in my browser settings
    (I tested in MS IE), the above code would not work.
    In considerable number of B2C web applications, Java
    Script is not used because of lack of control
    over Client environment (browser)Is this true? Surveys I have seen suggest that an utterly overwhelming majority of consumers have Javascript turned on.
    My Question:
    Does Reference Impl. of JSF (Sun) assume that Java
    Script would be enabled?Yes, for the renderers delivered in the spec.
    In more general terms: is it assumed that JSF-based
    HTML UI requires Java Script to be enabled?No, just for the default HTML renderkit, and just for a few (currently, one) renderers in that render kit.
    Can the spec team (or someone else) throw light on the
    background for this technical implementation, if any?As I said, the overwhelming majority of browsers have Javascript turned on. Some components (commandLink, in particular) could not be implemented without Javascript.
    -- Adam Winer (EG member)

  • Java Crypto - X.509 Certificate - DER encoded to Base64

    How to convert DER encoded X.509 Certificate to Base64 encoded X.509 Certificate?

    One way is to use the keytool utility supplied with the jdk. My keystore is already set up so you may have some additional steps beyond what I show below.
    First import the DER encoded certificate
    keytool -import -alias tempaliasname -file file.der(you will be prompted for the keystore password)
    Then export to Base64
    keytool -export -alias tempaliasname -file file.cer -rfc(you will be prompted for the keystore password)
    That will give you the Base64 version of your certificate.
    You can use the keytool -delete command to delete the key from your keystore if you want.
    Bruce

  • Starting deployment prerequisites: error in BI-Java installation sapinst

    Hi all,
    We are in process updating Bw 3.5 to BI 7.0 we hace sucessfully completed the Upgrade but while installing Bi java thru Sapinst in third step like java instance installtion  i was stck with the below error.
               We have downloaded the Cryptographic file and placed in jdk folder still the same problem is  coming.
    Please suggest...
    Thanks,
    Subhash.G
    Starting deployment prerequisites:
    Oct 13, 2007 2:42:18 AM  Error: Creation of DataSource for database "BWQ" failed.
    Original error message is:
    com.sap.sql.log.OpenSQLException: Error while accessing secure store: Encryption or decryption is not possible because the full version of the SAP Java Crypto Toolkit was not found (iaik_jce.jar is required, iaik_jce_export.jar is not sufficient) or the JCE Jurisdiction Policy Files don't allow the use of the "PbeWithSHAAnd3_KeyTripleDES_CBC" algorithm..
    Stack trace of original Exception or Error is:
    com.sap.sql.log.OpenSQLException: Error while accessing secure store: Encryption or decryption is not possible because the full version of the SAP Java Crypto Toolkit was not found (iaik_jce.jar is required, iaik_jce_export.jar is not sufficient) or the JCE Jurisdiction Policy Files don't allow the use of the "PbeWithSHAAnd3_KeyTripleDES_CBC" algorithm..

    Problem solved  followed the notes 1063396.

  • Java SSF for Digital Signatures and Document Encryption

    Hello,
    I have read in "SAP Help - Java Development Manual" that there is a Java SSF library for Digital Signatures and Document Encryption API.
    http://help.sap.com/saphelp_nw04s/helpdata/en/4f/65c3b32107964996a56e4165077e24/frameset.htm
    I am trying to develop an example application in NWDS using Interfaces/classes (ISsfData, SsfDataXml...), but NWDS does not find this classes in any library.
    I have searched for Javadocs in NWDS plugins directory and this classes and interfaces should be in JAR com.sap.security.api.jar, but they aren't there.
    Our WAS version is: NW04s WAS 7.0 SP11 and he have downloaded Java Crypto Library (IAIK) and also SAP XML Toolkit.
    Does anyone know how to find or obtain this library?
    Thanks in advance,
    Jorge Linares

    Hello Francesco,
    I want to  generate a digital signature (PKCS#7,XML) using SAP SSF API as explained in
    http://help.sap.com/saphelp_nw04/helpdata/en/4f/65c3b32107964996a56e4165077e24/content.htm and in Amol Joshi's reply in
    Digital Signatures and Document Encryption api
    so my question  is From which PI/XI version and its SPS this SAP SSF LIBRARY is supported ?
    Kind Regards,
    Kubra fatima.

  • Java.lang.IllegalStateException: algorithm ElGamal in provider ...

    below is the complete error message:
    java.lang.IllegalStateException: algorithm ElGamal in provider BLNT but class "com.belant.securityprovider.ElGamalCipher" inaccessible!
    I created Provider based on Java Cryptograhy written by Jonathan Knudsen, then compiled it and using clean room implementation of the JCE from Bouncy Castle (for JDK 1.3). I ran the code sing JDK 1.5, and those error messages appear. What really happened here ? (all classes are put on the same package)
    thanks
    oh ya, you can evaluate the Provider classes in url below:
    ftp://ftp.oreilly.com/pub/examples/java/crypto/files/oreilly/jonathan/crypto

    rtery wrote:
    To install your own provider the jar file containing the code for your provider must be signed by yourself and your certificate must be signed by Sun.
    I still need do that even I already use clean room implementation for testing purposes ?As far as I am aware - yes. I could be wrong!

Maybe you are looking for

  • Query help - Fetch employees working on two consecutive weekends(SAT/SUN)

    Hello Gurus, I have the following requirement and i need your help on this. We have a table with all employees effort logged in for the days they have worked. a sample data is given below TD_date     Emp_id     Effort     Archive_month 2-Mar-13     1

  • IPhoto 6 doesn't ask about importing duplicates anymore...

    Up until yesterday, iPhoto would ask if I wanted to import duplicate photos every time I hooked up the camera and it detected pictures that were already imported. Today, that doesn't happen. Clicking the "Import" button imports everything on the came

  • How to get details about disabled ID?

    I've had a Verizon iPhone since late April 2011 (it's now June 8, 2011). Twice I've had the "disabled ID for security reasons" thing, and I can't figure out why. I'm the only human in the house. Unless the cat or his fleas have been trying to log in,

  • Java - DOM Parsing - Reg

    I am trying to get the value of the element - <e> -from an xml file which looks as below <a> <b> <c> </c> <d> <e>SampleValue</e> </d> </b> </a> and I am using the Sun DOM1 parser. I am not sure what I missing I have tried using something like below N

  • Customer Master number range enhancement

    Hi All, The problem is customer no. range in SAP is 10 digits and also we can give int or ext. now i need ext no. range with 11 digits - i.e DEFH0000032 HOW ? PL HELP REGARDS