def test_interface(self): key = jwk.Key("key", "ALG") with pytest.raises(NotImplementedError): key.sign('') with pytest.raises(NotImplementedError): key.verify('', '')
def test_interface(self): key = jwk.Key() with pytest.raises(NotImplementedError): key._process_jwk(None) with pytest.raises(NotImplementedError): key.sign('') with pytest.raises(NotImplementedError): key.verify('', '')