Raw key size (bits) XXX does not match size defined by key class cipher
3 years ago
Originally Published: 2012-06-08
Article Number
000047829
Applies To
RSA Key Manager C client
RKM Client Tool application
Issue
07 Jun 2012 10:16:37,675 1339089397646 jpcst1 (13) ERROR TP-Processor1 - Client : 114.159.15.156, Raw key size (bits) 312 does not match size defined by key class cipher DefaultCipher[
id=c6254392-21d2-4ec2-97d9-7c954fe33579
name=AES
mode=CBC
size=DefaultCipherSize[
effectiveSize=256
physicalSize=256
]
]

Resolution

Customer was trying to use the CREATE_NEW_KEY option of the RKM Client Tool application provided by RSA Customer Support. The Raw Key Data field was longer than the actual key size definition of the key class. Change the text to match the key class key size.

In a standard application you can also get this error if you try to create a key using a key size larger or different than the definition of the key class