fixed bug with multi-prime rsa parameters in the keymanagement