Jose\Util\RSA::getRSADP PHP 메소드

getRSADP() 개인적인 정적인 메소드

RSA DP.
private static getRSADP ( RSAKey $key, BigInteger $c ) : BigInteger | false
$key Jose\KeyConverter\RSAKey
$c BigInteger
리턴 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);
    }