Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2006

    Exclamation SATSA UserCredentialManager problem


    Now, I am trying to use UserCrendtialManager to add a self-signed certificate .cer to its recordsotre, code lists as belows:

    // retrieve the cert stored from res folder

    byte[] readBytes = loadBytes("/tomcat.cer");
    try {
    } catch (UserCredentialManagerException e) {

    but I got the error:
    java.lang.IllegalArgumentException: Invalid pkiPath
    at com.sun.satsa.pki.PKIManager.addCredential(+94)
    at javax.microedition.pki.UserCredentialManager.addCredential(+6)

    Actually, i don't really know what exactly pkiPath needed..and how the URI to be set

    Thanks in advance!


  2. #2
    Registered User
    Join Date
    Jul 2006

    Re: SATSA UserCredentialManager problem

    Did you find any solution for this?
    I have the same problem, and can't find any documentation regarding this.

    best regards

    Karl Erik

  3. #3
    Nokia Developer Expert
    Join Date
    Jun 2005

    Re: SATSA UserCredentialManager problem


    You should check the JavaDoc for this class. pkiPath is actually the parameter name for the byte array that you pass to the addCredential method. There's a big description of it in the addCredential method of UserCredentialManager class.

    If you have Carbide.j installed, this JavaDoc is in C:\Nokia\Devices\Nokia_Prototype_SDK_4_0\docs\satsa\index.html


Similar Threads

  1. J2ME: Problem in Nokia Solution for a software problem
    By mte01 in forum Mobile Java Tools & SDKs
    Replies: 4
    Last Post: 2011-06-08, 05:52
  2. problem when stop playing video on 3650 and try to play again
    By niko86 in forum Mobile Java General
    Replies: 5
    Last Post: 2007-08-03, 07:40
  3. Ringing problem with Nokia N70
    By DVogdos in forum Audio
    Replies: 2
    Last Post: 2007-06-26, 20:49
  4. Replies: 1
    Last Post: 2005-12-04, 12:01
  5. J2ME: Problem in Nokia Solution for a media problem
    By mte01 in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2005-08-12, 11:30

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts