[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bouncycastle-crypto-dev
Subject:    Re: [dev-crypto] Problem in decrypting
From:       David Hook <dgh () lockboxlabs ! com>
Date:       2008-06-25 23:41:46
Message-ID: 1214437306.4020.3.camel () echidna
[Download RAW message or body]


Do a check on it using "instanceof". If it isn't implementing the
interface you can convert it by using its parameter values to build a
RSAPrivateKeyCrtSpec and then construct a usable private key with the
KeyFactory class.

Regards,

David

On Wed, 2008-06-25 at 10:38 +0200, ramengo@freemail.it wrote:
> Hi,
> I think that the key implements this interface because in the
> certificate specifics I read :
> 
> "Electronic Sign Alghorithm : sha1RSA"
> 
> How can I be sure of this?
> Regards.
> 
> Sergio.
> 
> -----Messaggio originale-----
> Da: David Hook 
> 
> -- Dada.net: fai nuove amicizie e ... guadagna con loro grazie a
> friend$! --


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic