HBCIUtils.log("decrypting message key with (n,d)-algorithm",HBCIUtils.LOG_DEBUG);
BigInteger exponent=((RSAPrivateKey)(k)).getPrivateExponent();
BigInteger modulus=((RSAPrivateKey)(k)).getModulus();
BigInteger c=new BigInteger(+1,cryptedKey);
plainKey=c.modPow(exponent,modulus).toByteArray();
} else {
HBCIUtils.log("decrypting message key with (p,q,dP,dQ,qInv)-algorithm",HBCIUtils.LOG_DEBUG);
BigInteger p=((RSAPrivateCrtKey2)k).getP();
BigInteger q=((RSAPrivateCrtKey2)k).getQ();
BigInteger dP=((RSAPrivateCrtKey2)k).getdP();