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.

inside custom component

Java Development

Reply
New Contributor
Jemsam
Posts: 5
Registered: ‎06-20-2012
My Device: Curve 9360
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.