Article PS01041136
Problem DescriptionA singature created by a Java-based application using the class MD5withRSA (which implements the signature algorithm of MD5 with RSA as defined in PKCS#1) always fails when verified by AspEncrypt's VerifySignature method of the CryptoHash object.
SolutionThe Microsoft CryptoAPI (and hence AspEncrypt) implements the PKCS#1 format with bytes of data in a reverse order. Therefore, signatures generated by CryptoAPI and AspEncrypt may be incompatible with cryptographic implementations that strictly conform to the PKCS#1 standard (including Java).
Created: 2/8/2002 4:51:07 AM
Copyright © Persits Software, Inc. 1998 - 2023 |