000018465 - How to convert information from key data extracted from Microsoft CAPI to a RSA BSAFE Crypto-C key object

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 4Show Document
  • View in full screen mode

Article Content

Article Number000018465
Applies ToRSA BSAFE Crypto-C
IssueHow to convert information from key data extracted from Microsoft CAPI to a RSA BSAFE Crypto-C key object
User sees a 533 (BE_MODULUS_LEN) error from B_SetKeyInfo.
CauseRSA BSAFE Crypto-C uses big-endian byte-ordering format (canonical order) whereas CryptoAPI uses little-endian format
ResolutionWhen copying the information (like the modulus bytes) from a Microsoft CAPI (CryptoAPI) key, you must reverse the order of the bytes.

See also: How to make RSA BSAFE libraries interoperate with Microsoft's CryptoAPI (MS CAPI)
Legacy Article IDa1500

Attachments

    Outcomes