in the fromAlias methode the following is executed: certificateChain = KeyChain.getCertificateChain(context, alias); // thats there it hangs.
Am Mittwoch, 5. Dezember 2012 23:28:22 UTC+1 schrieb Jens Hoffmann: > > hi everybody, > > today I faced a real strange behavior. > I tried to execute the fromAlias-methode and then the application hangs. > No exception occures. > Before that I set the permission to allow. > I have to say that I already used this certificate > in another application. There, it worked. > > Does it matter which context I am using? > > *KeyManager keyManager = KeyChainKeyManager.fromAlias(context, > * > * clientCert);* > > > In my *MainActivity* class I have a TabControl: > > In the first tab (*FriendActivity*) I am executing it: > > RestLoader restLoader = new RestLoader(); > try { > String s = *restLoader.execute(getApplicationContext()).get();* // or > should I use* this* instead? > } catch (InterruptedException e) { > > Can it happen that a certificate gets destroyed, while setting the > permissions? > I appreciate your help. > > best regards, > > jens > > > > > -- You received this message because you are subscribed to the Google Groups "Android Security Discussions" group. To view this discussion on the web visit https://groups.google.com/d/msg/android-security-discuss/-/4mfObLM__xwJ. To post to this group, send email to android-security-discuss@googlegroups.com. To unsubscribe from this group, send email to android-security-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/android-security-discuss?hl=en.