Jose\Util\RSA::getRSADP PHP Method

getRSADP() private static method

RSA DP.
private static getRSADP ( RSAKey $key, BigInteger $c ) : BigInteger | false
$key Jose\KeyConverter\RSAKey
$c BigInteger
return BigInteger | false
    private static function getRSADP(RSAKey $key, BigInteger $c)
    {
        if ($c->compare(BigInteger::createFromDecimal(0)) < 0 || $c->compare($key->getModulus()) > 0) {
            return false;
        }
        return self::exponentiate($key, $c);
    }