RSA BSAFE Crypto-C

Cryptographic Components for C

Search

KI_PKCS_RSAMultiPrimePrivate

Specifies a private key of the RSA algorithm as defined in PKCS #1 v2.0, Appendix 1. The information consists of the modulus, public and private exponents, two or more primes and the CRT information. Use KI_PKCS_RSAPrivateBER to retrieve the BER-encoded MultiPrime private key or to set a key object with the BER-encoding of a MultiPrime RSA private key.

This KI may have been set by KI_PKCS_RSAPrivate or KI_PKCS_RSAPrivateBER.

info Format

B_SetKeyInfo() A pointer to A_PKCS_RSA_MULTI_PRIME_PRIVATE_KEY. 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. There will be the same number of primeExponents as primes and one less coefficient.
B_GetKeyInfo() A pointer to A_PKCS_RSA_MULTI_PRIME_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