jarto / lockbox2

A version of TurboPower LockBox2, that is aimed at being compatible with Delphi, FPC and Lazarus 32/64 bit
26 stars 16 forks source link

Generate XML for MS CryptoServiceProvider #5

Closed todoooo closed 5 years ago

todoooo commented 5 years ago

This patch enables RSA keys to output XML required by the CryptoServiceProvider class in C# and allows a hash algorithm identifier to be embedded in a signed document, according to the PKCS#1 specification, so that the signature is compatible with MS cryptography.

The exponent of a public RSA key can now be specified during key generation, so that a value of $010001 can be prescribed to meet optimum security requirements.

OpenSSL text for RSA ciphers has been added.