RSA BSAFE Crypto-C

Cryptographic Components for C

Search

KI_PKCS_RSAPrivate

Specifies a private key of the RSA algorithm as defined in PKCS #1. The information consists of the modulus, exponents, two primes and the CRT information.

KI_RSA_CRT can be used for a private key that has the modulus and CRT information but no public or private exponent.

This KI may have been set by one of the following:

note.gif
See KI_PKCS_RSAPrivateBER for the same KI with BER-encoding.

info Format

B_SetKeyInfo() A pointer to A_PKCS_RSA_PRIVATE_KEY. These fields should be set such that the coefficient equals q-1 modp. Each ITEM supplies an integer in canonical format, where the ITEM data points to an unsigned Byte array, most significant Byte first, and the ITEM len gives its length. All leading zeros are stripped from each integer before it is copied to the key object.
B_GetKeyInfo() A pointer to A_PKCS_RSA_PRIVATE_KEY. All leading zeros have been stripped from each integer in the structure.


Copyright (c) 1999-2005 RSA Security Inc. All rights reserved. 068-001001-6210-001-000 - 6.2.1