unable to create encryption key

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Major 3 months, 3 weeks ago.

  • Author
    Posts
  • #25904
     sammouse 
    Participant

    I am trying to create key which will be shared by openAM (for encryption) and openIG ( for decryption).but i am getting below error,not able to find solution for this anywhere.Thanks in advance

    java -classpath forgerock-util-24.0.4.jar:openam-core-6.5.1.jar:openam-shared-6.5.1.jar com.sun.identity.common.DESGenKey

    Exception in thread “main” java.lang.NoClassDefFoundError: com/sun/identity/shared/encode/Base64
    at com.sun.identity.common.DESGenKey.main(DESGenKey.java:52)
    Caused by: java.lang.ClassNotFoundException: com.sun.identity.shared.encode.Base64
    at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    … 1 more

    #25910
     Peter Major 
    Moderator

    That Base64 class is now in openam-keystore-6.5.1.jar I think.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

©2019 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?