Emarref\Jwt\Encryption\Asymmetric::getPublicKey PHP Method

getPublicKey() public method

public getPublicKey ( ) : resource | string
return resource | string
    public function getPublicKey()
    {
        if (!$this->publicKey) {
            throw new \RuntimeException('No public key available for verification.');
        }
        return $this->publicKey;
    }