public static function getSigningPublicKeyFromResponse(string $response) : string
    {
        $version = static::getVersion($response);
        if ($version === 2) {
            if (\strlen($response) < 236) {
                throw new InvalidArgumentException;
            }

            return \substr($response, -160, 32);
        }

        throw new InvalidArgumentException('The response provided is not suitable for public key extraction.');
    }
public static function getSigningPublicKeyFromResponse(string $response) : string
    {
        $version = static::getVersion($response);
        if ($version === 2) {
            if (\strlen($response) < 236) {
                throw new InvalidArgumentException;
            }

            return \substr($response, -160, 32);
        }

        throw new InvalidArgumentException('The response provided is not suitable for public key extraction.');
    }
public static function getSigningPublicKeyFromResponse ( string $ response ) : string { $ version = static :: getVersion ( $ response ) ; if ( $ version === 2 ) { if ( \ strlen ( $ response ) < 236 ) { throw new InvalidArgumentException ; } return \ substr ( $ response , - 160 , 32 ) ; } throw new InvalidArgumentException ( 'The response provided is not suitable for public key extraction.' ) ; }
Extracts the signing public key from a v2 response

@param string $response
@return string
Extracts the signing public key from a v2 response