Hi

I have registered my domain already,
I can download and upload CCR from H9 and used secure=0,
When I certified my pem to my domain and jks by java tools. and I used
secure =1
I am getting a " Invalid AuthSub signature." response when I call
AuthSubUtil.exchangeForSessionToken(URLDecoder.decode(token, "UTF-8"),
Utility.getPrivateKey());
  public static PrivateKey getPrivateKey() {
      if (privateKey == null) {
             try {
               privateKey =
AuthSubUtil.getPrivateKeyFromKeystore("./test.jks",
                                                      "test",
                                                      "test",
                                                      "test");
               System.out.println("privateKey:" +privateKey);
             } catch (Exception e) {
               throw new RuntimeException("Error reading from keystore file
- ", e);
             }
           }
    return privateKey;
  }

I appreciate your help.

Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Health Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/googlehealthdevelopers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to