Jose\Algorithm\Signature\RSA::checkKey PHP Method

checkKey() private method

private checkKey ( Jose\Object\JWKInterface $key )
$key Jose\Object\JWKInterface
    private function checkKey(JWKInterface $key)
    {
        Assertion::eq($key->get('kty'), 'RSA', 'Wrong key type.');
    }