Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Visitor
Jemsam
Posts: 1
Registered: ‎06-20-2012
My Carrier: SFR

How to revoke a certificate?

Hello,

 

I want to revoke a certificate programmatically. I found the class net.rim.device.api.crypto.certificate.x509.X509CertificateRevocationList but I don't know to instanciate it.

 

The constructor has below parameters :

  • java.io.InputStream
  • net.rim.device.api.crypto.keystore.KeyStore

In my method I have the keystore object and the certificate (net.rim.device.api.crypto.certificate.x509.X509Certificate) to revoke but I don't know how to transform it into InputStream.

 

Someone has an idea about it, or another solution ?

Please use plain text.