CryptoAPI PRIVATEKEYBLOB to Java PrivateKey Converter

From: Michel Gallant (neutron_at_istar.ca)
Date: 04/14/05

  • Next message: Miroslav Havram: "AES encryption/decryption in Outlook"
    Date: Thu, 14 Apr 2005 13:30:20 -0400
    
    

    Here is a utility which parses a capi PRIVATEKEYBLOB and instantiates
    a Java PrivateKey:
         http://www.jensign.com/JavaScience/PvktoJkey

    This can be handy for a number for reasons; for example:
    Java 2 v1.5 supports generation and verification of more advanced signature
    algorithms, not yet supported in capi currently, such as pkcs#1 SHA256withRSA signatures.

    The reverse conversion (pkcs#8 encoded PrivateKeyInfo to PRIVATEKEYBLOB):
       http://www.jensign.com/JavaScience/PvkConvert

    - Mitch Gallant
       MVP Security


  • Next message: Miroslav Havram: "AES encryption/decryption in Outlook"