|Applies To||RSA Key Manager Client|
|Issue||RKM 1.5 client returns KMS_CLIENT_BAD_ALG (4780043) after Encrypt, Decrypt, or HMAC operation|
RKM Java Client 2.x or later throws exception "Algorithm is not a cipher algorithm."
|Cause||The symmetric key returned by the operation is for a different cryptographic operation than was attempted. For example, an HMAC key was specified for an Encrypt / Decrypt operation, or an encrypting key was specified for an HMAC operation.|
|Resolution||Specify the appropriate key or key class for the operation you are attempting. Encrypt / Decrypt operations need an encrypting key. HMAC operations need an HMAC key.|
|Legacy Article ID||a33558|