000023355 - RKM 1.5.x client returns KMS_CLIENT_BAD_ALG or RKM Java Client throws exception 'Algorithm is not a cipher algorithm.'

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

Article Content

Article Number000023355
Applies ToRSA Key Manager Client
IssueRKM 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."
CauseThe 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.
ResolutionSpecify 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 IDa33558

Attachments

    Outcomes