Removing certificates and CryptoManager refresh

Discuss building things with or for the Mozilla Platform.
Post Reply
Vovanz
Posts: 1
Joined: May 28th, 2016, 11:44 pm

Removing certificates and CryptoManager refresh

Post by Vovanz »

Hi,

I'm using org.mozilla.jss.CryptoManager and everything works fine.
Now I want to remove one of the existing certificates. I do not know how to do it from CryptoManager, so I remove it from outside via the certutil.
At this point CryptoManager::findCertsByNickname method still finds the deleted certificate as if it were still exist.

Two questions: is it possible to remove a certificate from java and/or how to cause refresh of the CryptoManager to detect outside certificate changes?
Used version - jss4-4.2.6-35

Thanks in advance
Post Reply