Jose\Object\JKUJWKSet::getKeys PHP Method

getKeys() public method

public getKeys ( ) : Jose\Object\JWKInterface[]
return Jose\Object\JWKInterface[]
    public function getKeys()
    {
        $content = json_decode($this->getContent(), true);
        Assertion::isArray($content, 'Invalid content.');
        Assertion::keyExists($content, 'keys', 'Invalid content.');
        return (new JWKSet($content))->getKeys();
    }
JKUJWKSet